Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Hi there,
    !!! Very important !!! You have to delete in table wp_options the row with option_name ‘aviaAsset_avia-head-scripts’.
    After this your web-side will speed up immense!
    There is a bug in enfold. See code above:
    If [print] => true you will get ever an error message in wp_options and this row will grow up endless and your web-side slow down!
    The workaround from enfold is not working.
    Only this is working:

    function whv_update_option_aviaAsset_avia_head_scripts($value, $old_value, $option) {
        /*
         * Enfold Error from 4.7.0
         * 
         * Enfold is writing in table options endless option_name aviaAsset_avia-head-scripts 'error-generating-file' ...
         * So web-side will slow down immense
         */
        
        if (in_array('error-generating-file', $value)) {
            return $old_value;
        }
        else {
            return $value;
        }
    }
    add_filter( 'pre_update_option_aviaAsset_avia-head-scripts', 'whv_update_option_aviaAsset_avia_head_scripts', 10,3 );
    

    And don`t forget to delete ‘aviaAsset_avia-head-scripts’ in wp_options!

    Best regards,

    Wilfried

    in reply to: Not able to log in to the forum to ask a question #1192532

    Thank you very much for your help! It seems like we really hadn´t registered for the Forum yet, even if we thought we did!

Viewing 2 posts - 1 through 2 (of 2 total)