Fatal error

scorpion1981
6 years, 8 months ago
Fatal error: Cannot redeclare renderMessage() (previously declared in /var/www/scorp152/data/www/my site.com/plugins/system/yjsg/includes/yjsgcore/classes/extend/30/html/message.php:12) in /var/www/scorp152/data/www/my site.com/templates/mobile_basic/html/message.php on line 13

what could be the problem
dryabov
6 years, 8 months ago
Joomla allows templates to define its own function renderMessage() to generate html snippet for messages area in any suitable way, and our mobile templates do it. But in your case you use Joomla Template Framework plugin that defines that function prior to any template is loaded that results in above issue. The problem is that Joomla Template Framework is system plugin (i.e. it is loaded at Joomla initialization stage) and MobileJoomla cannot disable it (plugins of other types can be disabled).

From source of the Joomla Template Framework plugin it looks like renderMessage definition might be skipped if MobileJoomla plugin is loaded before Joomla Template Framework plugin. So , could you open Mobile Joomla! system plugin settings and check that its ordering (-99 by default) is less than ordering of the Joomla Template Framework plugin (-5000 by default), that is most likely one of them should be changed appropriately?

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.