• Resolved abfc

    (@abfc)


    After updating to Woocommerce 3.5 or later my site crashes due to a problem with the mu-plugin wpcomsh. I get this message when debugging:

    Warning: Declaration of WC_REST_Dev_Product_Reviews_Controller::prepare_links($review, $request) should be compatible with WC_REST_Product_Reviews_Controller::prepare_links($review) in /home/…/domains/…/public_html/staging/wp-content/mu-plugins/wpcomsh/vendor/woocommerce/wc-api-dev/api/class-wc-rest-dev-product-reviews-controller.php on line 365

    Fatal error: Class ‘WC_REST_Webhook_Deliveries_Controller’ not found in /home/…/domains/…/public_html/staging/wp-content/mu-plugins/wpcomsh/vendor/woocommerce/wc-api-dev/api/class-wc-rest-dev-webhook-deliveries.php on line 22

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Julia Amosova

    (@jamosova)

    Hi @abfc,

    Sorry to hear about the trouble!

    Warning: Declaration of WC_REST_Dev_Product_Reviews_Controller::prepare_links($review, $request) should be compatible with WC_REST_Product_Reviews_Controller::prepare_links($review) in /home/…/domains/…/public_html/staging/wp-content/mu-plugins/wpcomsh/vendor/woocommerce/wc-api-dev/api/class-wc-rest-dev-product-reviews-controller.php on line 365

    Fatal error: Class ‘WC_REST_Webhook_Deliveries_Controller’ not found in /home/…/domains/…/public_html/staging/wp-content/mu-plugins/wpcomsh/vendor/woocommerce/wc-api-dev/api/class-wc-rest-dev-webhook-deliveries.php on line 22

    The issue you are having seems to be caused by the wpcomsh plugin according to the error messages you sent. We won’t be able to help with it here. Please contact the developers of that plugin and ask them to take a look further.

    Thread Starter abfc

    (@abfc)

    But I can’t find any information about the wpcomsh plugin. What is it? Who created it? I have contacted WordPress and they told me to contact Woocommerce about this.

    Thread Starter abfc

    (@abfc)

    UPDATE:
    I have deactivated all plug-ins and reactivated them again one by one. The error appears when I activate Woocommerce. I have also re-installed WordPress and changed theme to twenty seventeen but the same error appears.

    @abfc

    But I can’t find any information about the wpcomsh plugin. What is it? Who created it?

    We haven’t got the answers to that.

    Judging by the error message you are seeing, this appears to be a plugin installed in “Must-Use” plugins. These are generally automatically installed by your host, but can come from other places.

    To disable all Must-Use plugins would require that you access the filesystem of the site via FTP, navigate to the wp-content folder and rename the folder mu-plugins to mu-plugins-disabled

    Does this fatal error occur under those conditions?

    Thread Starter abfc

    (@abfc)

    I solved this by disable the mu-plugin folder. I haven’t noticed any problems with other plugins after the deactivation except Jetpack which I don’t need anyway. So now Woocommerce works perfect again. Thank you!

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @abfc,

    Glad to hear that you’ve got this sorted. Thanks for the update.

    I’ll go ahead and mark this thread as resolved.

    Greetings, I am not sure how to post on the forum itself, but WooCommerce is also causing my site to crash. I tried changing the name of the folder to mu-plugins-disabled like as suggested above but that didn’t work.
    This is the message I receive whenever I activate WooCommerce and then try to visit my site. https://snag.gy/k32hWM.jpg
    I really need some assistance here. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wpcomsh crashes site when using woocommerce 3.5’ is closed to new replies.