• Resolved Kim

    (@kimikaze)


    This plugin seems to break the wp rest api for me.

    Fatal error: Uncaught Error: Call to undefined method WC_Settings_General::get_id() in woocommerce\includes\class-wc-register-wp-admin-settings.php:35

    I have the same same issue for all rest api endpoints.
    This seems to be caused by this plugin, and adding a getter for the id in WC_Settings_Page solves the problem.

    public function get_id() {
        return $this->id;
    }
    • This topic was modified 7 years ago by Kim.
Viewing 1 replies (of 1 total)
  • xadapter

    (@xadapter)

    Hi @kimikaze,

    Apologies for the late reply.

    We have fixed this problem in the latest version of the plugin (1.1.2).
    Kindly download and install this version in your website.

    The problem will not bother you again.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin breaks WP rest api’ is closed to new replies.