Title: Legacy API Issue
Last modified: May 15, 2024

---

# Legacy API Issue

 *  Resolved [Lasha](https://wordpress.org/support/users/lashac/)
 * (@lashac)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/legacy-api-issue/)
 * Hi.
 * I use Printful plugin on Woocommerce. It needs Legacy API. So, when it was depricated,
   Woocomemrce automatically installed plugin for Legacy API.
 * Today there was notification that that Legacy API plugin and High Performace 
   Order Storage don’t work together. So, I switched to old version of order storage
   and now I cant log in to my website, there is a critical error.
 * this is the log:
   An error of type E_ERROR was caused in line 111 of the file /
   home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-content/plugins/woocommerce-
   legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php. Error message: 
   Uncaught Error: Call to undefined method WC_Legacy_REST_API_Plugin::remove_notice()
   in /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-content/plugins/
   woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php:111Stack
   trace:#0 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-content/plugins/
   woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php(29):
   WC_Legacy_REST_API_Plugin::maybe_remove_hpos_incompatibility_admin_notice()#1/
   home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-includes/class-wp-hook.
   php(324): WC_Legacy_REST_API_Plugin::on_woocommerce_init()#2 /home/1166517.cloudwaysapps.
   com/ssagpjndzx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#
   3 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-includes/plugin.php(
   517): WP_Hook->do_action()#4 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/
   wp-content/plugins/woocommerce/includes/class-woocommerce.php(812): do_action()#
   5 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-includes/class-wp-
   hook.php(324): WooCommerce->init()#6 /home/1166517.cloudwaysapps.com/ssagpjndzx/
   public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#7 /home/
   1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-includes/plugin.php(517):
   WP_Hook->do_action()#8 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/
   wp-settings.php(695): do_action()#9 /home/1166517.cloudwaysapps.com/ssagpjndzx/
   public_html/wp-config.php(68): require_once(‘/home/1166517.c…’)#10 /home/1166517.
   cloudwaysapps.com/ssagpjndzx/public_html/wp-load.php(50): require_once(‘/home/
   1166517.c…’)#11 /home/1166517.cloudwaysapps.com/ssagpjndzx/public_html/wp-admin/
   admin-ajax.php(22): require_once(‘/home/1166517.c…’)#12 {main} thrown

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/legacy-api-issue/?output_format=md) [1](https://wordpress.org/support/topic/legacy-api-issue/?output_format=md)
2

 *  Plugin Support [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/legacy-api-issue/page/2/#post-17792136)
 * Hi [@lashac](https://wordpress.org/support/users/lashac/),
 * > Website works. I got that error once, when I updated Legacy Plugin. Then I 
   > just restored backup and that’s it.
 * As I understand everything’s fine on your end now, so I’m going to mark this 
   as resolved. Feel free to [start a new thread](https://wordpress.org/support/plugin/woocommerce/#new-topic-0)
   if you have any more questions.
 * All the best,
   Omar
 *  Thread Starter [Lasha](https://wordpress.org/support/users/lashac/)
 * (@lashac)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/legacy-api-issue/page/2/#post-17792266)
 * [@serafinnyc](https://wordpress.org/support/users/serafinnyc/) thanks for the
   help. I will still wait for Printful plugin update but I think they are confused
   😀
 *  [Stef](https://wordpress.org/support/users/serafinnyc/)
 * (@serafinnyc)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/legacy-api-issue/page/2/#post-17799103)
 * They must be confused [@lashac](https://wordpress.org/support/users/lashac/) 
   I run 4 stores for clients with Printful, Gelato and Printify and all of them
   are on REST API. Not legacy

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/legacy-api-issue/?output_format=md) [1](https://wordpress.org/support/topic/legacy-api-issue/?output_format=md)
2

The topic ‘Legacy API Issue’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 18 replies
 * 4 participants
 * Last reply from: [Stef](https://wordpress.org/support/users/serafinnyc/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/legacy-api-issue/page/2/#post-17799103)
 * Status: resolved