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
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!