• Hello, I wish to know if is it possible to fix these issues that affect performance of the whole website, thank you:

    2021-03-30T09:17:02+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php:2193
    Stack trace:
    #0 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(292): WpAssetCleanUp\Main->ajaxGetJsonListCallback()
    #1 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 /home/sitexxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #3 /home/sitexxx/public_html/wp-admin/admin-ajax.php(187): do_action()
    #4 {main}
      thrown in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php on line 2193
    
    2021-03-30T17:07:21+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php:2193
    Stack trace:
    #0 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(292): WpAssetCleanUp\Main->ajaxGetJsonListCallback()
    #1 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 /home/sitexxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #3 /home/sitexxx/public_html/wp-admin/admin-ajax.php(187): do_action()
    #4 {main}
      thrown in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php on line 2193

    2021-03-31T10:50:47+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php:2193
    Stack trace:
    #0 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(292): WpAssetCleanUp\Main->ajaxGetJsonListCallback()
    #1 /home/sitexxx/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 /home/sitexxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #3 /home/sitexxx/public_html/wp-admin/admin-ajax.php(187): do_action()
    #4 {main}
    thrown in /home/sitexxx/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php on line 2193

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

    (@gabelivan)

    @leeonard89 it looks like you’ve chosen to fetch the assets via “WP Remote Post” and an error came up. However, this is just for retrieving assets using this particular method. It’s only triggering for the admin and it’s not affecting in any way the frontend view for your visitors. Now, it’s surprising that you’ve noticed this as there are verifications in place to avoid printing this kind of error. What else did you notice when the fetching of the assets was made?

    PS: I’ve updated the development version of the plugin with a code that does extra verifications in case there is an error generated there to avoid printing it. Can you download and install it? Use the instructions from this post: https://www.assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/

Viewing 1 replies (of 1 total)
  • The topic ‘Some sort of critical errors’ is closed to new replies.