Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #845776

    Hey,
    I migrate a WordPress site with a different theme to Enfold. After Setting everything about it works fine, except the Layerslider. As soon as i add the element and save the page i receive the following Errors:

    Warning: Illegal string offset ‘id’ in /www/htdocs/w0135136/newkarate/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 97

    Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w0135136/newkarate/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php:97) in /www/htdocs/w0135136/newkarate/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w0135136/newkarate/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php:97) in /www/htdocs/w0135136/newkarate/wp-includes/pluggable.php on line 1210

    Does anyone have an idea how to fix this? Yes everythign is up 2 date and its a fresh installation.

    • This topic was modified 7 years, 3 months ago by cr3epy.
    #845960

    Same problem here. Just started…

    #846361

    Hi,

    Can you please try re-updating the theme via FTP and overwrite all files – kriesi.at/documentation/enfold/updating-your-theme-files/?

    Best regards,
    Yigit

    #846399

    I just downloaded the theme file zip from Envato and re-uploaded all files via FTP with the OVERWRITE ALL option set.

    The problem still exists and has not been resolved.

    #846735

    Hi,

    What version of PHP are you running on the server? It might need to be updated if it’s below 5.6. If that is not the case then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #846882

    Still a problem… see private notes below

    PHP Version: 5.6.31
    WordPress Version: 4.8.1
    Server Software: Apache

    #847119

    Hi,

    Thanks for that, I can see the problem on the plugins page as well. It might be a conflict from one of the plugins you are running, did you try deactivating all of them to see if the messages go away?

    About the PHP version: 5.6 should be enough as far as I know, but it might be worth a shot to update. Do you have an option to update to 7.x?

    Best regards,
    Rikard

    #847125

    I’ll try deactivating all plugins and try changing to php 7 and see what happens.

    #847209

    Turns out that a plugin called SIMPLE HISTORY, which tracks user changes in the admin, was the culprit. Deleted the plugin and all is well.

    Thanks for your help.

    #847297

    Hi,

    Great, glad you found the problem and thanks for letting us know.

    Best regards,
    Rikard

    #848000

    I solved my problem too. i tired all this stuff above and it did not work! So i modified the Code via a Childtheme and voila it worked

    Changed slideshow_layerslider.php line 97 to

    // Get slider
    //$slider = $wpdb->get_row(“SELECT * FROM $table_name
    // WHERE id = “.(int)$atts[“id”].” AND flag_hidden = ‘0’
    // AND flag_deleted = ‘0’
    // ORDER BY date_c DESC LIMIT 1″ , ARRAY_A);
    //if the slider does not exist query the last slider

    #848630

    Hi cr3epy,

    Glad you got it working for you and thank you for sharing! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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