Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1480225
    Michael Johnson
    Guest

    I’m sorry this is more of a bug report and not a pre-sales question but it wouldn’t let me write you on the other area of the site without logging in. However, this is important and I wanted to let you know.

    I’m using your enfold theme, and my homepage was experiencing a critical error.
    I was able to narrow it down and fix it thanks to the query-monitor plugin.

    It found this:
    Uncaught Error: Unsupported operand types: string + int
    in /home/customer/www/computerrepairlexington.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php on line 1135

    and I went to that file and replaced the line 1135 which previously looked like this:
    $params[‘offset’] = $params[‘offset’] + ( ( $this->current_page – 1 ) * $params[‘items’] );
    And replcaed it with this working version:
    $params[‘offset’] = intval($params[‘offset’]) + ( ( intval($this->current_page) – 1 ) * intval($params[‘items’]) );

    That got my homepage up and working again. Just thought I’d let you know. Take care.

    #1480252

    Hey Michael,

    Thanks for that. Which version of the theme are you running?

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.