• Resolved dvsmith

    (@dvsmith)


    Multiple sites that I manage with the latest version of WordPress went offline upon updating to WPO 4.0.0. The sites have different themes, different plugins, different purposes. In every case, WPO was installed (and on the sites without WPO, all is well).

    Trying to (re) activate the plugin results in the message: “Plugin could not be activated because it triggered a?fatal error.”

    Linux host with latest PHP 8.4.3 release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Can you post your php error logs using a tool such as patebin.com?

    Thread Starter dvsmith

    (@dvsmith)

    This repeats for the past few days:

    [10-Feb-2025 23:52:37 UTC] PHP Fatal error:  Uncaught Error: Class 'WP_Optimize_Delay_JS' not found in /home/path/wp-content/plugins/wp-optimize/wp-optimize.php:332
    Stack trace:
    #0 /home/path/wp-content/plugins/wp-optimize/wp-optimize.php(652): WP_Optimize->get_delay_js()
    #1 /home/path/wp-includes/class-wp-hook.php(324): WP_Optimize->plugins_loaded('')
    #2 /home/path/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #3 /home/path/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/path/wp-settings.php(559): do_action('plugins_loaded')
    #5 /home/path/wp-config.php(100): require_once('/home/path/...')
    #6 /home/path/wp-load.php(50): require_once('/home/path/...')
    #7 /home/path/wp-blog-header.php(13): require_once('/home/path/...')
    #8 /home/path in /home/path/wp-content/plugins/wp-optimize/wp-optimize.php on line 332
    • This reply was modified 1 month ago by dvsmith.
    Thread Starter dvsmith

    (@dvsmith)

    Here is the Pastebin from the past few days of errors (there are so many of the Fatal Error entries that it exceeded the pastebin limits, so I cut it off at three) from one site, anonymized. Prior log entries were more than a month old.

    https://pastebin.com/XRuFCgVQ

    • This reply was modified 1 month ago by dvsmith.
    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    It doesn’t look like the plugin has installed properly, can you download it and re-install it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.