Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Memotas Friend
    #1032467

    Hi 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 Moderator
    #1032614

    @memotas: could you create a new topic and share me the credentials of your site? I can’t replicate the issue at my end so I need a closer look and investigate further.

    Luna Garden Moderator
    #1032797

    @memotas: in order to fix that go to:

    1. /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');
            }
    1. 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.

Viewing 3 posts - 1 through 3 (of 3 total)

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