Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #372609

    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

    #372659

    Hi Bplessis!

    Thanks for the notice. I added it to our bug list.

    Regards,
    Elliott

    #384380

    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

    #385155

    Hey!

    The offending code should have been fixed in the latest update. Are you still having the problem?

    Cheers!
    Elliott

    #385327

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Long child theme name bug’ is closed to new replies.