-
AuthorPosts
-
Memotas Friend
Memotas
- Join date:
- July 2010
- Posts:
- 67
- Downloads:
- 103
- Uploads:
- 29
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
May 9, 2017 at 3:20 pm #1032467Hi Arvind,
I am getting the follow error on my homepage where JA News Featured Module is displayed. I am running version 2.6.1 of the module and got this error when upgrading to version 3.7.0 of Joomla. Please help.
Warning: Illegal string offset ‘framework’ in /home/test/public_html/libraries/cms/html/html.php on line 693
Warning: Illegal string offset ‘relative’ in /home/test/public_html/libraries/cms/html/html.php on line 694
Warning: Illegal string offset ‘pathOnly’ in /home/test/public_html/libraries/cms/html/html.php on line 695
Warning: Illegal string offset ‘detectBrowser’ in /home/test/public_html/libraries/cms/html/html.php on line 696
Warning: Illegal string offset ‘detectDebug’ in /home/test/public_html/libraries/cms/html/html.php on line 697
Warning: Illegal string offset ‘framework’ in /home/test/public_html/libraries/cms/html/html.php on line 701
Warning: Illegal string offset ‘relative’ in /home/test/public_html/libraries/cms/html/html.php on line 706
Warning: Illegal string offset ‘detectBrowser’ in /home/test/public_html/libraries/cms/html/html.php on line 706
Warning: Illegal string offset ‘detectDebug’ in /home/test/public_html/libraries/cms/html/html.php on line 706
Warning: Illegal string offset ‘pathOnly’ in /home/test/public_html/libraries/cms/html/html.php on line 709
Hello,
Why don’t managers give an explanation for these errors?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
May 10, 2017 at 4:05 am #1032797@memotas: in order to fix that go to:
-
/jaec/j16/modules/mod_janews_featured/tmpl/default/blog.php
find :
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ JHTML::script('script.js','templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/'); } else { JHTML::script('script.js','modules/'.$module->module.'/tmpl/'.$theme.'/'); }
change to:
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ JHTML::script('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js'); } else { JHTML::script('modules/'.$module->module.'/tmpl/'.$theme.'/script.js'); }
2.
modules/mod_janews_featured/tmpl/headline/blog.php
find :
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ //if (JFolder::exists('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/')){ JHTML::script('script.js','templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/'); } else { JHTML::script('script.js','modules/'.$module->module.'/tmpl/'.$theme.'/'); }
change to:
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ //if (JFolder::exists('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/')){ JHTML::script('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js'); } else { JHTML::script('modules/'.$module->module.'/tmpl/'.$theme.'/script.js'); }
-
modules/mod_janews_featured/tmpl/telineiv/blog.php
find:
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ //if (JFolder::exists('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/')){ JHTML::script('script.js','templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/'); } else { JHTML::script('script.js','modules/'.$module->module.'/tmpl/'.$theme.'/'); }
change to:
if(is_file(JPATH_SITE.'templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js')){ //if (JFolder::exists('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/')){ JHTML::script('templates/'.$app->getTemplate().'/html/'.$module->module.'/'.$theme.'/script.js'); } else { JHTML::script('modules/'.$module->module.'/tmpl/'.$theme.'/script.js'); }
There’re several bugs of JA News Feature on Joomla 3.7, wait for a few days, we’ll release fix version soon.
-
AuthorPosts
This topic contains 2 replies, has 3 voices, and was last updated by Luna Garden 7 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum