Query Monitor plugin reports 11 PHP deprecation errors
-
Good day
This post is for your information.
I use the Query Monitor plugin to track any code issues and it reports the following 11 PHP deprecated errors for the WooCommerce PayFast Gateway plugin:Deprecated Creation of dynamic property WC_Gateway_PayFast::$debug_email is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:39 Deprecated Creation of dynamic property WC_Gateway_PayFast::$available_countries is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:40 Deprecated Creation of dynamic property WC_Gateway_PayFast::$available_currencies is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:41 Deprecated Creation of dynamic property WC_Gateway_PayFast::$merchant_id is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:65 Deprecated Creation of dynamic property WC_Gateway_PayFast::$merchant_key is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:66 Deprecated Creation of dynamic property WC_Gateway_PayFast::$pass_phrase is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:67 Deprecated Creation of dynamic property WC_Gateway_PayFast::$url is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:68 Deprecated Creation of dynamic property WC_Gateway_PayFast::$validate_url is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:69 Deprecated Creation of dynamic property WC_Gateway_PayFast::$response_url is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:71 Deprecated Creation of dynamic property WC_Gateway_PayFast::$send_debug_email is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:72 Deprecated Creation of dynamic property WC_Gateway_PayFast::$enable_logging is deprecated wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php:75
Additional info that may help:
WC_Gateway_PayFast->__construct() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:97 WC_Payment_Gateways->init() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70 WC_Payment_Gateways->__construct() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43 WC_Payment_Gateways::instance() wp-content/plugins/woocommerce/includes/class-woocommerce.php:966 WooCommerce->payment_gateways() wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast-blocks-support.php:30 WC_PayFast_Blocks_Support->is_active() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php:28 Automattic\W\B\P\PaymentMethodRegistry->Automattic\W\B\P\{closure}() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php:28 array_filter() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php:25 Automattic\W\B\P\PaymentMethodRegistry->get_all_active_registered() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php:40 Automattic\W\B\P\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/Api.php:65 Automattic\W\B\P\Api->add_payment_method_script_dependencies() wp-includes/class-wp-hook.php:324 apply_filters('woocommerce_blocks_register_script_dependencies') wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/Api.php:264 Automattic\W\B\A\Api->register_script() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php:130 Automattic\W\B\B\AbstractBlock->register_block_type_assets() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/Cart.php:270 Automattic\W\B\B\Cart->register_block_type_assets() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php:115 Automattic\W\B\B\AbstractBlock->initialize() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/Cart.php:33 Automattic\W\B\B\Cart->initialize() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php:70 Automattic\W\B\B\AbstractBlock->__construct() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypesController.php:66 Automattic\W\B\BlockTypesController->register_blocks() wp-includes/class-wp-hook.php:324 do_action('init') wp-settings.php:643
WordPress core, theme and all plugins have been updated to their latest versions.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Query Monitor plugin reports 11 PHP deprecation errors’ is closed to new replies.