Plugin breaks WP rest api
-
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; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin breaks WP rest api’ is closed to new replies.