-
AuthorPosts
-
August 30, 2017 at 1:36 pm #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, 2 months ago by cr3epy.
August 30, 2017 at 9:00 pm #845960Same problem here. Just started…
August 31, 2017 at 4:34 pm #846361Hi,
Can you please try re-updating the theme via FTP and overwrite all files – kriesi.at/documentation/enfold/updating-your-theme-files/?
Best regards,
YigitAugust 31, 2017 at 4:59 pm #846399I 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.
September 1, 2017 at 9:48 am #846735Hi,
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,
RikardSeptember 1, 2017 at 3:18 pm #846882Still a problem… see private notes below
PHP Version: 5.6.31
WordPress Version: 4.8.1
Server Software: ApacheSeptember 2, 2017 at 10:28 am #847119Hi,
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,
RikardSeptember 2, 2017 at 10:45 am #847125I’ll try deactivating all plugins and try changing to php 7 and see what happens.
September 2, 2017 at 6:32 pm #847209Turns 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.
September 3, 2017 at 6:09 am #847297Hi,
Great, glad you found the problem and thanks for letting us know.
Best regards,
RikardSeptember 5, 2017 at 8:30 am #848000I 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 sliderSeptember 6, 2017 at 2:01 pm #848630Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.