PHP Deprecated: WC_Cart::get_checkout_url
-
Hoi,
Ik wil graag melding maken van een PHP Deprecated in jullie code. Kunnen jullie deze fixen in een volgende versie? Alvast bedankt. P.s. IDs zijn gefingeerd.
Deprecated: WC_Cart::get_checkout_url is verouderd sinds versie 2.5. Gebruik in plaats daarvan wc_get_checkout_url. in /wp-includes/functions.php on line 4777
Stack Trace
1. trigger_error('WC_Cart::get_checkout_...', 16384) /wp-includes/functions.php:4777 2. _deprecated_function('WC_Cart::get_checkout_url', '2.5', 'wc_get_checkout_url') /wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:54 3. wc_deprecated_function('WC_Cart::get_checkout_url', '2.5', 'wc_get_checkout_url') /wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php:362 4. WC_Legacy_Cart->get_checkout_url() /wp-content/plugins/woocommerce-paynl-payment-methods/includes/classes/Pay/Helper/Transaction.php:87 5. Pay_Helper_Transaction::processTransaction('14224404X253b6', 'CANCELED') /wp-content/plugins/woocommerce-paynl-payment-methods/includes/classes/Pay/Gateways.php:325 6. Pay_Gateways::_onExchange('') /wp-includes/class-wp-hook.php:287 7. WP_Hook->apply_filters('', Array(1)) /wp-includes/class-wp-hook.php:311 8. WP_Hook->do_action(Array(1)) /wp-includes/plugin.php:478 9. do_action('woocommerce_api_wc_pay...') /wp-content/plugins/woocommerce/includes/class-wc-api.php:161 10. WC_API->handle_api_requests(WP) /wp-includes/class-wp-hook.php:287 11. WP_Hook->apply_filters(null, Array(1)) /wp-includes/class-wp-hook.php:311 12. WP_Hook->do_action(Array(1)) /wp-includes/plugin.php:544 13. do_action_ref_array('parse_request', Array(1)) /wp-includes/class-wp.php:388 14. WP->parse_request('') /wp-includes/class-wp.php:745 15. WP->main('') /wp-includes/functions.php:1285 16. wp() /wp-blog-header.php:16 17. require('/var/www/...') /index.php:17
Context
URL : /?wc-api=Wc_Pay_Gateway_Exchange&action=cancel&payment_session_id=124304&order_id=144346404X263b8&customer_id=&customer_key=&pincode=1453205&website_location_id=1&website_id=1&program_id=1326&promotor_id=0&tool=&info=&domain_id=&object=woocommerce+3.5.3&ip_address=91.132.74.199&amount=340.000&extra1=409294&extra2=anoniem%40hotmail.com&extra3=109194&secret=2545301543&enduser_id=0&product_id=1371252&payment_profile_id=705&payment_method_id=4 HTTP Method : GET HTTP Status : 200 isSSL : Yes Current Filter : parse_request, woocommerce_api_wc_pay_gateway_exchange Execution Time : 1.875 s Memory Usage : 92.24 MiB PHP SAPI : fpm-fcgi
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Deprecated: WC_Cart::get_checkout_url’ is closed to new replies.