Hi,
I had a bug with an enfold child theme with a long name.
The theme name is used to set an option in wordpress. If the theme name is too long, it doesn’t fit in the database (option name is varchar(64)). this leads to fire the avia_import_sample_slider function (enfold/config-layerslider/config.php l.73) on each page load, which create news sliders on each page load.
I commented out the function call so the sliders are not duplicated anymore but this should be fixed.
Thanks,
Damien
Hi Bplessis!
Thanks for the notice. I added it to our bug list.
Regards,
Elliott
Hi,
Thanks for fixing the bug, however, I see it is still present in at least another part of the code
$themeNice = avia_backend_safe_string(THEMENAME);
if(get_option("{$themeNice}_woo_settings_enabled")) return;
update_option("{$themeNice}_woo_settings_enabled", '1');
Please patch where required.
Regards,
Damien
Hey!
The offending code should have been fixed in the latest update. Are you still having the problem?
Cheers!
Elliott
Hi,
No, the applied patch solves my case but it seems the problem can still happen in the code portion I pasted earlier, just sayin’ !
Regards,
Damien