• Resolved forestspirit

    (@forestspirit)


    We are getting these messages in woocommerce logs:

    CRITICAL Uncaught Error: Class 'dsxmlrpc\WP_Error' not found in /home/dresslemuse.com/public_html/web/app/plugins/disable-xml-rpc-api/disable-xml-rpc-api.php:460
    
    Stack trace:
    #0 /home/dresslemuse.com/public_html/web/wp/wp-includes/class-wp-hook.php(308): dsxmlrpc\xmlrpcSecurity->dsxmlrpc\{closure}()
    #1 /home/dresslemuse.com/public_html/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /home/dresslemuse.com/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php(189): apply_filters()
    #3 /home/dresslemuse.com/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->check_authentication()
    #4 /home/dresslemuse.com/public_html/web/wp/wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
    #5 /home/dresslemuse.com/public_html/web/wp/wp-includes/class-wp-hook.php(308): rest_api_loaded()
    #6 /home/dresslemuse.com/public_html/web/wp/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #7 /home/dresslemuse.com/public_html/web/wp/wp-includes/plugin.php(565): WP_H in /home/dresslemuse.com/public_html/web/app/plugins/disable-xml-rpc-api/disable-xml-rpc-api.php on line 460

    Why is this plugin expecting WP_Error class to be in the plugin root directory? It is defined in wp-includes/class-wp-error.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Amin Nazemi

    (@aminnz)

    Hello @forestspirit

    Hope you are doing well today.

    Seems you found a bug it is not related to woocommerce, you can turn off the disable rest API features to prevent it for now (it can be found on security settings -> “Disable JSON REST API“), we will prepare a new update.

    Regards

    Plugin Author Amin Nazemi

    (@aminnz)

    Hello @forestspirit

    The issue has been fixed on version 2.1.4.8
    please test it on your site and let me know if you have any issues.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught Error: Class ‘dsxmlrpc\WP_Error’ not found in’ is closed to new replies.