• mlevison

    (@mlevison)


    My site has been on 1.3.7.5 for sometime. Attempts to upgrade to the current version get the following errors in the php logs:

    [Sat May 22 10:34:20.027093 2021] [php7:error] [pid 3263] [client 35.245.50.252:62574] PHP Fatal error: Uncaught Error: Call to undefined method WpAssetCleanUp\\Plugin::preventAnyFrontendOptimization() in /nas/content/live/yflmainprod/wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28\nStack trace:\n#0 /nas/content/live/yflmainprod/wp-includes/class-wp-hook.php(292): WpAssetCleanUp\\CleanUp->doClean('')\n#1 /nas/content/live/yflmainprod/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/yflmainprod/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#3 /nas/content/live/yflmainprod/wp-settings.php(560): do_action('init')\n#4 /nas/content/live/yflmainprod/wp-config.php(116): require_once('/nas/content/li...')\n#5 /nas/content/live/yflmainprod/wp-load.php(37): require_once('/nas/content/li...')\n#6 /nas/content/live/yflmainprod/wp-blog-header.php(13): require_once('/nas/content/li...')\n#7 /nas/content/live/yflmainprod/index.php(17): require('/nas/content/li...')\n#8 {main}\n thrown in /nas/content/live/yflmainprod/wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php on line 28
    [Sun May 23 07:50:24.413014 2021] [php7:error] [pid 21335] [client 35.245.50.252:14550] PHP Fatal error: Uncaught Error: Call to undefined method WpAssetCleanUp\\Plugin::preventAnyFrontendOptimization() in /nas/content/live/yflmainprod/wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28\nStack trace:\n#0 /nas/content/live/yflmainprod/wp-includes/class-wp-hook.php(292): WpAssetCleanUp\\CleanUp->doClean('')\n#1 /nas/content/live/yflmainprod/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/yflmainprod/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#3 /nas/content/live/yflmainprod/wp-settings.php(560): do_action('init')\n#4 /nas/content/live/yflmainprod/wp-config.php(116): require_once('/nas/content/li...')\n#5 /nas/content/live/yflmainprod/wp-load.php(37): require_once('/nas/content/li...')\n#6 /nas/content/live/yflmainprod/wp-blog-header.php(13): require_once('/nas/content/li...')\n#7 /nas/content/live/yflmainprod/index.php(17): require('/nas/content/li...')\n#8 {main}\n thrown in /nas/content/live/yflmainprod/wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php on line 28

    Short of sacrificing a rubber chicken, where should I start looking for this problem?
    Thanks
    Mark

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @mlevison That’s surprising indeed. I got a few complaints like this year as far as I recall. It’s something on the user’s end as the “Plugin.php” file where the class in question resides is loaded via spl_autoload_register() along with all the other classes. This suggests a problem on your end where the file is not loaded by PHP or it’s just missing somehow (even just during the update). What you can do is delete the plugin after deactivation (no worries, all settings will be preserved). Then just re-install it the same way you installed it for the first time. Let me know if this would work!

Viewing 1 replies (of 1 total)

The topic ‘500 Error on Upgrade’ is closed to new replies.