Blog & News
Aktuelles & Updates von
Aktuelles & Updates von
Joomla, Wordpress und Co.
News, HowTos und Tutorials rund um Webdesign, Webentwicklung, Webhosting und Digitalisierung.
Blog & News
Template gk_appsprotech / Apps Pro Tec
22.04.2020 · 2 Min Lesezeit
Frontendfehler beim Umstellen der PHP Version von 5.6 auf PHP 7.2 im Joomla Template "Apps Pro Tec"
Oops, you've encountered an error 0
It appears the page you were looking for doesn't exist. Sorry about that.
Im Error.Log findet sich folgende Meldung:
PHP Deprecated: Non-static method Joomla\CMS\Application\SiteApplication::getMenu() should not be called statically in /www/htdocs/~/templates/gk_appsprotech/lib/framework/helper.layout.php on line 210
PHP Deprecated: Non-static method Joomla\CMS\Application\CMSApplication::getMenu() should not be called statically in /www/htdocs/~/libraries/src/Application/SiteApplication.php on line 275
PHP Deprecated: Non-static method Joomla\CMS\Application\SiteApplication::getMenu() should not be called statically in /www/htdocs/~/templates/gk_appsprotech/lib/framework/helper.layout.php on line 210
PHP Deprecated: Non-static method Joomla\CMS\Application\CMSApplication::getMenu() should not be called statically in /www/htdocs/~/libraries/src/Application/SiteApplication.php on line 275
Lösung:
/zeitsprung-zittau.de/templates/gk_appsprotech/lib/framework/
Datei: helper.layout.php Zeile 210
Das Menü darf nicht so geladen werden: $menu = getMenu();
Sondern so...$mainframe = JFactory::getApplication(); $menu = $mainframe->getMenu();