Error after update to latest version
-
Hi, After updating the plugin I see the following error in wp-admin:
Deprecated: Automattic\WooCommerce\Admin\Notes\WC_Admin_Note::get_status is deprecated since version 1.7.0 with no alternative available. in /var/www/client/web/wp-includes/functions.php on line 4787
Any idea how I can fix that?
Thanks!
-
I’m getting the same error
Hey @loano1 and @abingdonmotors – are you using the latest versions of WooCommerce on your site? I’ve tested this with the latest version of both WooCommerce and WC Admin but I cannot see this problem.
It may be that one of your other plugins is targeting this function.
I’m getting the same error, after UPDATE
Hi @loano1 – It’s important to note that this is a warning, not an error, so it’s very unlikely to actually have an affect on functionality.
With that being said, are you able to paste a copy of your site’s system status report in a reply? (you can redact the URL if you’d like)
You can find that at: WP Dashboard > WooCommerce > Status > ‘Get system report’Hi @jricketts4 ,
Thanks for your reply. You’re right, strictly speaking it’s a warning and not an error.
Here are my system status:
### WordPress Environment ### WordPress address (URL): https://example.com Site address (URL): https://example.com WC Version: 4.7.1 REST API Version: ? 4.7.1 WC Blocks Version: ? 3.6.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.7.2 Log Directory Writable: ? WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.18.0 PHP Version: 7.3.1 PHP Post Max Size: 100 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.60.0 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.40-MariaDB-1~stretch Max Upload Size: 100 MB Default Timezone is UTC: ? Default timezone is Etc/UTC - it should be UTC fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.7.1 WC Database Prefix: censored_ Total Database Size: 344.68MB Database Data Size: 283.85MB Database Index Size: 60.83MB censored_woocommerce_sessions: Data: 71.61MB + Index: 4.52MB + Engine InnoDB censored_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB censored_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_woocommerce_order_itemmeta: Data: 0.19MB + Index: 0.13MB + Engine InnoDB censored_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB censored_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB censored_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB censored_adforest_locations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_adsforwp_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_aqua_blocker: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_b2s_posts: Data: 0.02MB + Index: 0.14MB + Engine InnoDB censored_b2s_posts_drafts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_b2s_posts_favorites: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_b2s_posts_network_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_b2s_posts_sched_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_b2s_user: Data: 0.02MB + Index: 0.05MB + Engine InnoDB censored_b2s_user_contact: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_b2s_user_network_settings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_commentmeta: Data: 0.30MB + Index: 0.36MB + Engine InnoDB censored_comments: Data: 3.52MB + Index: 1.11MB + Engine InnoDB censored_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_imagify_files: Data: 0.08MB + Index: 0.11MB + Engine InnoDB censored_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_options: Data: 4.34MB + Index: 1.23MB + Engine InnoDB censored_postmeta: Data: 156.69MB + Index: 14.03MB + Engine InnoDB censored_posts: Data: 8.52MB + Index: 6.06MB + Engine InnoDB censored_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_shortpixel_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_snippets: Data: 0.05MB + Index: 0.00MB + Engine InnoDB censored_termmeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB censored_terms: Data: 0.45MB + Index: 0.55MB + Engine InnoDB censored_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB censored_term_taxonomy: Data: 0.48MB + Index: 0.45MB + Engine InnoDB censored_usermeta: Data: 20.55MB + Index: 22.05MB + Engine InnoDB censored_users: Data: 1.52MB + Index: 1.00MB + Engine InnoDB censored_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB censored_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB censored_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB censored_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wfblockediplog: Data: 0.27MB + Index: 0.00MB + Engine InnoDB censored_wfblocks7: Data: 0.14MB + Index: 0.08MB + Engine InnoDB censored_wfconfig: Data: 0.45MB + Index: 0.00MB + Engine InnoDB censored_wfcrawlers: Data: 0.05MB + Index: 0.00MB + Engine InnoDB censored_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB censored_wfhits: Data: 1.02MB + Index: 5.06MB + Engine InnoDB censored_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wfissues: Data: 0.03MB + Index: 0.06MB + Engine InnoDB censored_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB censored_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wflocs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB censored_wflogins: Data: 2.52MB + Index: 0.48MB + Engine InnoDB censored_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB censored_wfreversecache: Data: 0.05MB + Index: 0.00MB + Engine InnoDB censored_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB censored_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB censored_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB censored_yoast_indexable: Data: 0.16MB + Index: 0.08MB + Engine InnoDB censored_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB censored_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB censored_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB censored_yoast_seo_links: Data: 0.19MB + Index: 0.19MB + Engine InnoDB censored_yoast_seo_meta: Data: 0.50MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### _sb_country: 247 ad_post: 3564 adsforwp: 1 advanced_ads: 8 attachment: 14386 custom_css: 1 nav_menu_item: 271 page: 65 post: 17 product: 44 revision: 116 saswp: 5 shop_coupon: 2 shop_order: 114 vc_grid_item: 1 wpcf7_contact_form: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (36) ### Accelerated Mobile Pages: by Ahmed Kaludi Mohammed Kaludi – 1.0.69.1 AddToAny Share Buttons: by AddToAny – 1.7.42 Advanced Ads Pro: by Advanced Ads GmbH – 2.10.2 Advanced Ads – Responsive Ads: by Advanced Ads GmbH – 1.9.2 Advanced Ads: by Thomas Maier Advanced Ads GmbH – 1.21.1 Akismet Anti-Spam: by Automattic – 4.1.7 Advanced AMP ADS: by AMPforWP Team – 1.19.14 AMP Theme Framework: by AMPforWP Team – 1.0 Blog2Social: Social Media Auto Post & Scheduler: by Blog2Social Adenion – 6.5.6 Classic Editor: by WordPress Contributors – 1.6 Code Snippets: by Code Snippets Pro – 2.14.0 Contact Form 7: by Takayuki Miyoshi – 5.3 Easy Table of Contents: by Steven A. Zahm – 2.0.11 Enable Media Replace: by ShortPixel – 3.5.0 Fix Image Rotation: by Gagan Deep Singh – 2.2.1 WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.2 Really Simple SSL: by Really Simple Plugins – 4.0.1 SB Framework: by Scripts Bundle – 3.4.1 Schema & Structured Data for WP & AMP: by Magazine3 – 1.9.56 ShortPixel Image Optimizer: by ShortPixel – 4.21.1 Smart Backlinks: by Arijit Banerjee – 1.4 SVG Support: by Benbodhi – 2.3.18 Swap Google Fonts Display: by Gijo Varghese – 1.0.6 Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.5.1 Ultimate Tag Cloud Widget: by Rickard Andersson – 2.7.2 User Blocker: by Solwin Infotech – 1.5.2 WooCommerce Admin: by WooCommerce – 1.7.2 Checkout Manager for WooCommerce: by QuadLayers – 5.3.1 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Coupon Restrictions: by WooCommerce – 1.8.0 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.7.2 WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.8.0 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce: by Automattic – 4.7.1 Wordfence Security: by Wordfence – 7.4.12 WPForce Logout: by Sanjeev Aryal – 1.4.1 WP Rollback: by Impress.org – 1.7.1 ### Inactive Plugins (20) ### Autoptimize: by Frank Goossens (futtta) – 2.7.8 Autoptimize CriticalCSS.com Power-Up: by Deny Dias & Optimizing Matters – 1.18.0 Facebook for WooCommerce: by Facebook – 2.2.0 Flexible Checkout Fields: by WP Desk – 2.7.0 – Installed version not tested with active version of WooCommerce 4.7.1 Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6 Imagify: by WP Media – 1.9.13 Jetpack by WordPress.com: by Automattic – 9.1 Klarna Payments for WooCommerce: by krokedil klarna automattic – 2.1.4 Mailchimp for WooCommerce: by Mailchimp – 2.4.7 – Installed version not tested with active version of WooCommerce 4.7.1 One Click Demo Import: by ProteusThemes – 2.6.1 WooCommerce Shipping & Tax: by Automattic – 1.25.3 – Installed version not tested with active version of WooCommerce 4.7.1 WooCommerce Stripe Gateway: by WooCommerce – 4.5.5 – Installed version not tested with active version of WooCommerce 4.7.1 WP File Manager: by mndpsingh287 – 6.9 WP Mail SMTP: by WPForms – 2.5.1 WP Rocket: by WP Media – 3.4.4 WP SMS for WordPress: by WPSMS.IO – 1.3.0 WP SVG: by Daryll Doyle – 1.13.1 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 3.2.6 Yoast SEO: by Team Yoast – 15.3 Yoast SEO Premium: by Team Yoast – 13.4.1 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: adforest_classified_pkgs (adforest_classified_pkgs) external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: ? Page visibility should be public Cart: #755 - /cart/ Checkout: #756 - /checkout/ My account: ? Page does not contain the shortcode. Terms and conditions: #33 - /terms/ ### Theme ### Name: adforest child Version: 1.0.0 Author URL: https://scriptsbundle.com/ Child Theme: ? Parent Theme Name: adforest new Parent Theme Version: 4.3.9 Parent Theme Author URL: https://scriptsbundle.com/ WooCommerce Support: ? ### Templates ### Overrides: adforest/woocommerce/archive-product.php adforest/woocommerce/myaccount/form-login.php adforest/woocommerce/myaccount/my-account.php adforest/woocommerce/single-product/add-to-cart/external.php adforest/woocommerce/single-product/add-to-cart/grouped.php adforest/woocommerce/single-product/add-to-cart/simple.php adforest/woocommerce/single-product/add-to-cart/variable.php adforest/woocommerce/single-product/tabs/additional-information.php adforest/woocommerce/single-product/tabs/description.php adforest/woocommerce/single-product/tabs/tabs.php adforest/woocommerce/single-product-reviews.php adforest/woocommerce/single-product.php ### Action Scheduler ### Complete: 116 Oldest: 2020-10-29 13:24:35 +0100 Newest: 2020-11-26 10:58:47 +0100
I am also getting this notice when DEBUG is enabled in wp-config.php
Hello all,
This is a known message that is related to on WooCommerce Admin an upcoming change in AdminNotes classes in WooCommerce 4.8.
As @jricketts4 indicated, this is a notice, not an error, and won’t affect your site in any way. Our developers will make sure to update the related code before the function is removed.
Hi all!
WooCommerce 4.8 is scheduled for release today. Please do update the core WooCommerce plugin when you can.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Thanks,
- The topic ‘Error after update to latest version’ is closed to new replies.