Conversation
supportI’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 your wp-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 then Download 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...
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 your wp-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 then Download 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.1...
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. Direct link to image: https://snipboard.io/zPUEhQ.jpg I hope this helps! Thank you.