• Resolved acidzero

    (@acidzero)


    Asset CleanUp: Page Speed Booster latest update (1.3.7.9) caused an immediate critical error in my site.
    I managed to get my site back by entering recovery mode and disabling the plugin. But, eventually, I would like to have it in my site. What do I do?

    Uncaught Error: Class 'WpAssetCleanUp\Misc' not found in /mysite/wp-content/plugins/wp-asset-clean-up/classes/Main.php:288
    Stack trace:
    #0 /mysite/wp-content/plugins/wp-asset-clean-up/classes/Main.php(204): WpAssetCleanUp\Main->__construct()
    #1 /mysite/wp-content/plugins/wp-asset-clean-up/wpacu-load.php(38): WpAssetCleanUp\Main::instance()
    #2 /mysite/wp-content/plugins/wp-asset-clean-up/wpacu.php(106): require_once('/home2/saindo1/...')
    #3 /mysite/wp-settings.php(388): include_once('/home2/saindo1/...')
    #4 /mysite/wp-config.php(96): require_once('/home2/saindo1/...')
    #5 /mysite/wp-load.php(37): require_once('/home2/saindo1/...')
    #6 /mysite/wp-admin/admin.php(34):

    The page I need help with: [log in to see the link]

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

    (@gabelivan)

    @acidzero the plugin uses PHP’s spl_autoload_register() function to make sure all the classes are loading smoothly including “Misc”. I suspect the update wasn’t done completely. Can you download the plugin and upload its files via SFTP? Something happened during the update process and some files weren’t copied apparently. Just to be sure, can you go to your control panel’s file manager (e.g. from cPanel) and see if the Misc.php is located in /mysite/wp-content/plugins/wp-asset-clean-up/classes/?

    You can also delete the plugin (all settings will be preserved, no worries) and re-install it.

    Thread Starter acidzero

    (@acidzero)

    I cheked the folder you told me and there’s no misc.php in there.

    Can I really go into my wordpress control site, delete the plugin, install it again and have my settings preserved? It’s very important to me, the settings.

    Thank you for the answer.

    Plugin Author Gabe Livan

    (@gabelivan)

    @acidzero the fact that Misc.php is missing suggests the installation (copying of the files to be clear) wasn’t complete and there’s a problem on your end. You can have the settings preserved of course, as the plugin is made in such a way that even if you delete it and re-install it, the settings will be there as they are stored in the database ??

    Thread Starter acidzero

    (@acidzero)

    Well done! it worked. Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical error after upgrade’ is closed to new replies.