Support » Plugin: WooCommerce » Error after update to Woocommerce 4

  • Resolved juniortopanotti

    (@juniortopanotti)


    After update my plugin i cant enter anymore on the site, i was getting this error message.

    Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Notes\WC_Admin_Note::get_icon() in /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-notes-data-store.php:31 Stack trace: #0 /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Admin_Notes_Data_Store->create(Object(Automattic\WooCommerce\Admin\Notes\WC_Admin_Note)) #1 /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(218): WC_Data_Store->create(Object(Automattic\WooCommerce\Admin\Notes\WC_Admin_Note)) #2 /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(82): WC_Data->save() #3 /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Package.php( in /var/www/vhosts/trendsmake.com.br/staging.trendsmake.com.br/wp-content/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-notes-data-store.php on line 31
    O site está passando por dificuldades técnicas.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Just to make sure: Did you update WooCommerce through the WordPress admin area or did you manually upload the latest version via FTP?

    With that said, however, to recover your site in order to access the admin area once more, please follow the steps outlined at: https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    Thread Starter juniortopanotti

    (@juniortopanotti)

    I have updated in WordPress admin area.

    Plugin Support Ena P (a11n)

    (@drwpcom)

    Hi @juniortopanotti. Were you able to follow the link provided by my colleague above to get back into your site? Once you do, you can go ahead and deactivate the WooCommerce Admin plugin since it’s now built into WooCommerce.

    If you still have issues with a critical error on your site, please share your system report with me. You can find it by going to WooCommerce > Status > Get system report and then click Copy for support to be able to paste it in your reply.

    Plugin Support laceyrod a11n

    (@laceyrod)

    Automattic Happiness Engineer

    Howdy @juniortopanotti,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. I hope you were able to get back into the site okay. If not, please feel free to open a new thread and we can further assist.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error after update to Woocommerce 4’ is closed to new replies.