Deprecation notices
-
I’m seeing deprecation notices for this plugin:
[16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$card_types is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 89 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$customer_api is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$customer_password is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$saved_cards is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$testmode is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$debug_mode is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101 [16-Nov-2023 22:31:11 UTC] PHP Deprecated: Creation of dynamic property WC_Gateway_EWAY::$public_api_key is deprecated in PLUGINDIR/woocommerce-gateway-eway/includes/class-wc-gateway-eway.php on line 101
Please fix.
-
Hi @galbaras
From the deprecation notices you’ve shared, it looks like certain dynamic properties used in the WooCommerce Eway Gateway plugin are deprecated. This typically means that these properties are no longer recommended for use and may be removed in future versions.
To resolve this issue, I would recommend ensuring you are using the latest version of the WooCommerce Eway Gateway plugin. The deprecated functions may have been updated or replaced in a newer version. And, if you have used this function in your theme or somewhere else, then make sure to remove or update it.
Additionally, don’t forget to update your PHP to 8.0 or higher, as it will ensure that all your plugins including WooCOmmerce work smoothly.
Please note that deprecation notices are just a warning and don’t affect the functionality of your site, so you could turn off
WP_DEBUG
in yourwp-config.php
file. This will stop the notices from appearing.I hope this clarifies your concern. Please let us know if you need further assistance.
Thanks!
I’m using PHP 8.2 and the latest version (3.7.1) of the plugin. Please fix your code.
Hi @galbaras
Could you please share a copy of your site’s System Status Report so that we can better understand your site’s current environment? You can find this by navigating to WooCommerce → Status → select
Get system report
and thenDownload for support
. This will download a TXT file that has the contents of the SSR to share with us.### WordPress Environment ### WordPress address (URL): https://dev.get-business-online.com/pacificsprings Site address (URL): https://dev.get-business-online.com/pacificsprings WC Version: 8.3.0 REST API Version: ? 8.3.0 WC Blocks Version: ? 11.4.8 Action Scheduler Version: ? 3.6.4 Log Directory Writable: ? WP Version: 6.4.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en_AU External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.2.12 PHP Post Max Size: 128 MB PHP Time Limit: 600 PHP Max Input Vars: 3000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.16-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.3.0 WC Database Prefix: wp_ps_ Total Database Size: 198.26MB Database Data Size: 125.81MB Database Index Size: 72.45MB wp_ps_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ps_woocommerce_order_items: Data: 3.52MB + Index: 1.52MB + Engine InnoDB wp_ps_woocommerce_order_itemmeta: Data: 18.55MB + Index: 15.03MB + Engine InnoDB wp_ps_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ps_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB iwp_clone_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB IWP_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_actionscheduler_actions: Data: 0.25MB + Index: 0.30MB + Engine InnoDB wp_ps_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_actionscheduler_logs: Data: 0.45MB + Index: 0.28MB + Engine InnoDB wp_ps_ac_areas: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_ps_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_apto_sort_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_cartflows_ca_cart_abandonment: Data: 1.52MB + Index: 0.05MB + Engine InnoDB wp_ps_cartflows_ca_email_history: Data: 0.09MB + Index: 0.11MB + Engine InnoDB wp_ps_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_cf7dbplugin_st: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_cf7dbplugin_submits: Data: 0.47MB + Index: 0.31MB + Engine InnoDB wp_ps_commentmeta: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_ps_comments: Data: 4.52MB + Index: 1.92MB + Engine InnoDB wp_ps_ewwwio_images: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_ps_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_grp_google_place: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_grp_google_review: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_ps_grp_google_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_itsec_bans: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_ps_itsec_dashboard_events: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_ps_itsec_dashboard_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ps_itsec_distributed_storage: Data: 4.50MB + Index: 0.02MB + Engine InnoDB wp_ps_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_itsec_firewall_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ps_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_ps_itsec_log: Data: 4.52MB + Index: 0.20MB + Engine InnoDB wp_ps_itsec_logs: Data: 2.52MB + Index: 0.64MB + Engine InnoDB wp_ps_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ps_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_itsec_vulnerabilities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ps_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_iwp_file_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_mclean_refs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_nm_personalized: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_ps_options: Data: 3.50MB + Index: 0.17MB + Engine InnoDB wp_ps_postmeta: Data: 56.58MB + Index: 37.11MB + Engine InnoDB wp_ps_posts: Data: 8.52MB + Index: 3.88MB + Engine InnoDB wp_ps_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_rank_math_analytics_adsense: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_rank_math_analytics_ga: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wp_ps_rank_math_analytics_gsc: Data: 2.52MB + Index: 3.72MB + Engine InnoDB wp_ps_rank_math_analytics_inspections: Data: 0.25MB + Index: 0.11MB + Engine InnoDB wp_ps_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_rank_math_analytics_objects: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_ps_rank_math_internal_links: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wp_ps_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_redirection_404: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_ps_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_redirection_items: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_ps_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_ps_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_term_relationships: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_ps_term_sorting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_ps_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_ps_vslider: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_ps_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wc_customer_lookup: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_ps_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_wc_order_addresses: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ps_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_wc_order_operational_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ps_wc_order_product_lookup: Data: 2.52MB + Index: 1.17MB + Engine InnoDB wp_ps_wc_order_stats: Data: 1.52MB + Index: 0.75MB + Engine InnoDB wp_ps_wc_order_tax_lookup: Data: 1.52MB + Index: 0.52MB + Engine InnoDB wp_ps_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_ps_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wpsc_also_bought: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wpsc_cart_contents: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp_ps_wpsc_cart_item_meta: Data: 0.08MB + Index: 0.20MB + Engine InnoDB wp_ps_wpsc_checkout_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_wpsc_claimed_stock: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_wpsc_coupon_codes: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ps_wpsc_currency_list: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_ps_wpsc_download_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ps_wpsc_meta: Data: 0.08MB + Index: 0.13MB + Engine InnoDB wp_ps_wpsc_product_rating: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ps_wpsc_purchase_logs: Data: 0.17MB + Index: 0.09MB + Engine InnoDB wp_ps_wpsc_purchase_meta: Data: 0.17MB + Index: 0.41MB + Engine InnoDB wp_ps_wpsc_region_tax: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ps_wpsc_submited_form_data: Data: 1.52MB + Index: 0.41MB + Engine InnoDB wp_ps_wpsc_visitors: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ps_wpsc_visitor_meta: Data: 0.17MB + Index: 0.11MB + Engine InnoDB ### Post Type Counts ### amn_mi-lite: 2 apto_sort: 25 attachment: 395 custom_css: 1 flamingo_contact: 783 flamingo_inbound: 870 grw_feed: 2 itsec-dash-card: 5 itsec-dashboard: 1 iwp_log: 4719 nav_menu_item: 16 oembed_cache: 22 page: 20 post: 78 product: 40 product_variation: 106 rmp_menu: 1 shop_coupon: 17 shop_order: 11691 shop_order_refund: 2 vtmin-rule: 1 wp_global_styles: 1 wp_navigation: 7 wp_template: 2 wp_template_part: 2 wpa-stats: 6 wpcf7_contact_form: 3 wpsc-product: 249 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (33) ### InfiniteWP - Client: by Revmakx – 1.12.4 Disable Bloat for WordPress & WooCommerce: by Disable Bloat – 3.4.2 Add From Server: by Dion Hulse – 3.4.5 AddToAny Share Buttons: by AddToAny – 1.8.9 FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.26.1 Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3 Solid Security Basic: by SolidWP – 9.1.0 Honeypot for Contact Form 7: by Nocean – 2.1.1 Contact Form 7: by Takayuki Miyoshi – 5.8.3 Enable Media Replace: by ShortPixel – 4.1.4 Envato Market: by Envato – 2.0.10 EWWW Image Optimizer: by Exactly WWW – 7.2.1 Facebook for WooCommerce: by Facebook – 3.1.3 Flamingo: by Takayuki Miyoshi – 2.4 Get Business Online Customisations: by Get Business Online Consulting – 3.54 OMGF: by Daan from Daan.dev – 5.7.6 Image Regenerate & Select Crop: by Iulia Cazan – 7.3.4 Media File Renamer: Rename Files (Manual, Auto, AI): by Jordy Meow – 5.7.3 Recent Posts Widget With Thumbnails: by Kybernetik Services – 7.1.1 Redirection: by John Godley – 5.3.10 Rank Math SEO PRO: by Rank Math – 3.0.49 Rank Math SEO: by Rank Math – 1.0.206 CyberSource - WooCommerce Payment Gateway: by Ryan IT Solutions. – 1.41.38 Plugin for Google Reviews: by RichPlugins – 3.0 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.25 Min Max Quantity & Step Control for WooCommerce: by CodeAstrology Team – 5.7 Preview E-mails for WooCommerce: by Digamber Pradhan – 2.1.6 Product Feed PRO for WooCommerce: by AdTribes.io – 13.1.1 WooCommerce Eway Payment Gateway: by WooCommerce – 3.7.1 PPOM for WooCommerce: by Themeisle – 32.0.9 WooCommerce: by Automattic – 8.3.0 (update to version 8.3.1 is available) WP Accessibility: by Joe Dolson – 2.1.3 WP File Manager: by mndpsingh287 – 7.2.1 ### Inactive Plugins (6) ### MonsterInsights - eCommerce Addon: by MonsterInsights Team – 8.3.11 MonsterInsights - Performance Addon: by MonsterInsights Team – 1.7.3 MonsterInsights - PPC Tracking Addon: by MonsterInsights Team – 1.0.0 MonsterInsights Pro: by MonsterInsights – 8.16 WP Fastest Cache: by Emre Vona – 1.2.2 WP Fastest Cache Premium: by Emre Vona – 1.6.9 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Must Use Plugins (1) ### InfiniteWP - Client Loader: by Revmakx – 1.0.1 ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: 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: ? Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #51 - /products/ Cart: #4841 - /cart/ Checkout: #4842 - /checkout/ My account: #4843 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Pacific Springs 2023 Version: 1.0 Author URL: https://www.get-business-online.com Child Theme: ? Parent Theme Name: Twenty Twenty-Three Parent Theme Version: 1.3 Parent Theme Author URL: https://www.ads-software.com WooCommerce Support: ? ### Templates ### Overrides: pacificsprings-2023/checkout/form-billing.php pacificsprings-2023/checkout/form-shipping.php /home/gboldev/public_html/pacificsprings/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/error.php /home/gboldev/public_html/pacificsprings/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/notice.php /home/gboldev/public_html/pacificsprings/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/success.php ### Admin ### Enabled Features: activity-panels analytics product-block-editor core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: coupons customize-store minified-js new-product-management-experience product-virtual-downloadable product-external-affiliate settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-11-23 00:11:54 +10:00 Options: ? Notes: 183 Onboarding: completed ### Action Scheduler ### Complete: 813 Oldest: 2023-10-22 14:15:12 +1000 Newest: 2023-11-22 13:15:13 +1000 Pending: 2 Oldest: 2023-11-23 02:15:07 +1000 Newest: 2023-11-28 03:00:14 +1000 ### Status report information ### Generated at: 2023-11-22 13:37:11 +10:00
Hi there @galbaras ??
Thank you for reaching back, with the site’s System Status Report (SSR).
I went ahead with inspecting it, as well as testing with a test site of mine with the settings as listed below, without being able to reproduce the deprecation notices you are reporting.
- WordPress 6.4.1
- WooCommerce 8.3.0
- WooCommerce Database Version: 8.3.0
- PHP Version: 8.2.12
- TT3 theme (no child)
- WooCommerce Eway Gateway – 3.7.1
Can you please share a screenshot of what you see at that screen with the deprecation notices? That will help us understand the issue. Here’s how to make a screenshot:
https://wordpress.com/support/make-a-screenshot/
Other steps, in order to consistently reproduce it would be welcome too, as it is not possible at the moment.
Furthermore, when investigating the page at https://dev.get-business-online.com/pacificsprings/checkout/, it appears no code is there. Just wanted to share a heads-up, for looking further into it. Below, I am attaching a screenshot, for reference.
I hope this helps! Thank you.
- The topic ‘Deprecation notices’ is closed to new replies.