• Resolved Gijs de Lange

    (@gys1984)


    Hi there,

    After updating to version 3.1.3 I got a fatal error:

    Fatal error: Uncaught Error: Call to undefined function wp_optimize_minify_config() in /home/x/domains/x-mysite.nl/public_html/wp-content/plugins/wp-optimize/includes/class-wp-optimize-updates.php:89 Stack trace: #0 /home/x/domains/x-mysite.nl/public_html/wp-content/plugins/wp-optimize/includes/class-wp-optimize-updates.php(45): WP_Optimize_Updates::enable_minify_defer() #1 /home/x/domains/x-mysite.nl/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(1316): WP_Optimize_Updates::check_updates() #2 /home/x/domains/x-mysite.nl/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(407): WP_Optimize->run_updates() #3 /home/x/domains/x-mysite.nl/public_html/wp-includes/class-wp-hook.php(287): WP_Optimize->plugins_loaded(”) #4 /home/x/domains/x-mysite.nl/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #5 /home/x/domains/x-mysite.nl/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /h in?/home/x/domains/x-mysite.nl/public_html/wp-content/plugins/wp-optimize/includes/class-wp-optimize-updates.php?on line?89

    Could you have a look at it?

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi there,

    Thanks, we’re looking into it.

    Marc.

    The issue should now be fixed. Sorry for the inconvenience.

    Quick question, did you have Minify enabled in WP-Optimize?

    Marc.

    Thread Starter Gijs de Lange

    (@gys1984)

    Thanks Marc, that’s really quick!

    The website was created/setup by someone else. It seems like Minify was not enabled, but I can’t tell you for sure. I can’t view the minify options, since this website also uses W3 Total cache. (I get your message: ‘Minify cannot be loaded, because an incompatible plugin was found: W3 Total Cache’)

    Thanks again.

    Thanks for the feedback. I think we missed testing the update with minify disabled, which is why we didn’t spot the issue.

    Thanks for updating that fast.

    Nonetheless I’ve go 40+ sites that have been broken due to this (an still are, I’m manually correcting at the moment (not all are sending me recovery mode, due to older hosting/wp versions). All my sites are using auto updates for plugins, to keep abreast of fixes and security features ??

    I have the same issue. How do I solve it?

    Thank you

    Luca

    @lucaluchetto

    To fix the issue:
    – use a FTP client to access your website’s files.
    – Browse to wp-content/plugins
    – Locate the folder wp-optimize and delete it.

    If you had page caching enabled in WP-Optimize:
    – At your website root, open the file wp-config.php
    – Locate the line that says define(‘WP_CACHE’, true);
    – Remove that line and save the file

    This should restore access to your website.
    You can then re-install the latest version of WP-Optimize from the plugin repository, with the corrected bug.

    @boldairdeveloppement We are very sorry about the inconvenience and the extra work!

    @marcusig
    I deleted the folder
    I do not have any line with “WP_CACHE” to delete in config.php file

    Access not restored yet,

    Any other suggestion, please?

    thank you

    Luca

    @lucaluchetto Is this your website: https://lucaconti.it/ ?

    If so, it appears that the folder wasn’t removed properly, as the error displayed clearly states that it is still there.

    The location is written at the end, and the whole folder wp-optimize should be deleted: /usr/share/nginx/www/lucaconti.it/wp-content/plugins/wp-optimize/.

    • This reply was modified 4 years, 2 months ago by Marc Lacroix.

    I am sorry @marcusig, my fault.

    I will keep you posted

    Thank you for your time

    Luca

    @marcusig
    Problem solved. Thank you for you kind support

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error on activation (version 3.1.3)’ is closed to new replies.