test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • leszekwiatrowski Friend
    #1046478

    Good morning, I have problem with pagination in japurityII template. I have Joomla 1.5.26. Website http://www.mbpwlodawa.pl. At the bottom of the page writes such an error: Warning: Illegal string offset ‘active’ in /templates/ja_purity_ii/html/pagination.php on line 129 Warning: Illegal string offset ‘active’ in /templates/ja_purity_ii/html/pagination.php on line 135 Please help.
    Link pagination.php

    • This topic was modified 7 years, 5 months ago by  Saguaros.
    • This topic was modified 7 years, 5 months ago by  leszekwiatrowski.
    Saguaros Moderator
    #1046737

    Hi,

    It due to the PHP version you’re using so it notices that warning messages. You can get rid of these warnings by going to Global configuration on your site and set Error Reporting to None.

    P/s: Joomla 1.5 or 2.5 have been stopped for support by Joomla, you should consider to upgrade to Joomla 3.x

    leszekwiatrowski Friend
    #1046769

    foreach( $list[‘pages’] as $page )
    {
    if($page[‘data’][‘active’]) {
    // $html .= ‘‘;
    }

    $html .= $page[‘data’];

    if($page[‘data’][‘active’]) {
    // $html .= ‘‘;
    }
    }

    I fixed on:

    foreach( $list[‘pages’] as $page )
    {
    if($page[‘active’]) {
    // $html .= ‘‘;
    }

    $html .= $page[‘data’];

    if($page[‘active’]) {
    // $html .= ‘‘;
    }
    }**

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

This topic contains 2 replies, has 2 voices, and was last updated by  leszekwiatrowski 7 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum