Error message after upgrade to PHP 7

magiclund
7 years, 6 months ago
After upgrading to PHP 7 on Joomla site i get the following error message when entering the site www.magicweekend.se (on desktop and mobile device):

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemMobileBot has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/system/mobilebot/mobilebot.php on line 28 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemMobileContent has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/system/mobilecontent/mobilecontent.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMobileMJPro has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/mobile/mjpro/mjpro.php on line 28 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMobileAmdd has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/mobile/amdd/amdd.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMobileSimple has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/mobile/simple/simple.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMobileAlways has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/mobile/always/always.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMobileDomains has a deprecated constructor in /hsphere/local/home/smdamw/magicweekend.se/plugins/mobile/domains/domains.php on line 15
magiclund
7 years, 6 months ago
As a matter of fact the template does not work either.
dryabov
7 years, 6 months ago
Most likely you use MJ 1.x, because of 2.x doesn't include plgSystemMobileBot plugin. MJ 2.x works well with PHP 7.
magiclund
7 years, 6 months ago
Upgraded to 2 and it solved the problem.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.