• Resolved Lasha

    (@lashac)


    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:111
    Stack 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)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @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 if you have any more questions.

    All the best,
    Omar

    Thread Starter Lasha

    (@lashac)

    @serafinnyc thanks for the help. I will still wait for Printful plugin update but I think they are confused 😀

    Stef

    (@serafinnyc)

    They must be confused @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)

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