• Resolved missnavigator05

    (@missnavigator05)


    We would like to inform you that the experienced issue was caused by the following error:

    Fatal error: Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Blocks\RestApi::__construct() must be an instance of Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi, instance of Automattic\WooCommerce\Blocks\StoreApi\RoutesController given, called in /home/alexandria/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Domain/Bootstrap.php on line 181 and defined in /home/alexandria/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:28 Stack trace: #0 /home/alexandria/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Domain/Bootstrap.php(181): Automattic\WooCommerce\Blocks\RestApi->__construct(Object(Automattic\WooCommerce\Blocks\StoreApi\RoutesController)) #1 /home/alexandria/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Registry/AbstractDependencyType.php(42): Automattic\WooCommerce\Blocks\Domain\Bootstrap->Automattic\WooCommerce\Blocks\Domain{closure}(Object(Automattic\WooCommerce\Blocks\Registry\Container)) #2 /hom in /home/alexandria/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 28

    It seems that the plugin woo-gutenberg-products-block was not properly working. We have disabled the plugin to restore the functionallity of your website. We would recommend to contact the plugin vendor for more information on the matter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Before you start

    1. First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    2. Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    Cheers!

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @missnavigator05,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical Error On My Site’ is closed to new replies.