(yes, I do know about hiding strict standards issues; Which I do on production sites. but I watch for these issues on my development sites)
The following notices exist in Phoca Download 3.0.6
mod_fcgid: stderr: PHP Strict Standards: Non-static method PhocaDownloadHelperRoute::getFileRoute() should not be called statically, assuming $this from incompatible context in /plugins/content/phocadownload/phocadownload.php on line 552
mod_fcgid: stderr: PHP Strict Standards: Non-static method PhocaDownloadHelperRoute::_findItem() should not be called statically, assuming $this from incompatible context in /components/com_phocadownload/helpers/route.php on line 69
mod_fcgid: stderr: PHP Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /components/com_phocadownload/helpers/route.php on line 245
Change following lines in components/com_phocadownload/helpers/route.php to fix the getMenu notice (and remove deprecated code)
line 245 from
Code: Select all
$menus =JApplication::getMenu('site', array());Code: Select all
$menus = JFactory::getApplication()->getMenu('site', array());JApplication::getMenu() is deprecated. JFactory::getApplication()->getMenu() instead.
line 249 from
Code: Select all
return JRequest::getVar('Itemid', 0, '', 'int');Code: Select all
return JFactory::getApplication()->input->get('Itemid', 0, '', 'int');JRequest::getVar() is deprecated. Use JFactory::getApplication()->input->get() instead.
References
Potential backward compatibility issues in Joomla 3 and Joomla Platform 12.2
Joomla 3.0 conversion changes needed when converting a common installable package for “joomla 1.5.x & 2.5.x” to “joomla 3.0
Joomla! CMS 3.4 API Deprecated elements

