Our Joomla(using 3.9.19 Stable ) and Plugins are updated however our theme is very old. Shape5 Prestige Academy Theme works in PHP 7.0.33 however it breaks in PHP Versions 7.1.x, 7.2.x, 7.3.x, 7.4.x.

The error is “0 - Using $this when not in object context”. I found many threads about this issue and the common fix is:

JSite::getMenu()

in your template's file and replace it with

JFactory::getApplication()->getMenu()

I found 2 instances of this in our theme and updated it but it didn’t fix the issue. I restored the original code.

can you please check once and let me know your suggetions

Thanks
Mahesh

Hello Team,

any update on this, please let me know

Thanks

Hi Mahesh,

Prestige Academy is one of premium Joomla template in Shape5 but I can't see any active membership under your profile, you should sign up for an active membership to get updates and support.

Regards

Write a Reply...
You need to Login to view replies.