PHP Fatal error: array_key_exists
-
Hello, the last update of the plugin creates a fatal error when ordering.
[Wed Nov 29 09:27:43.137795 2023] [lsapi:error] [pid 28023:tid 139880719734528] [client 2a02:a44f:be30:1:3d0a:7e99:3871:6c58:55198] [host www.productsite.nl] Backend fatal error: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Email.php:36\nStack trace:\n#0 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Email.php(36): array_key_exists()\n#1 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): LicenseManagerForWooCommerce\\Integrations\\WooCommerce\\Email->afterOrderTable()\n#2 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/templates/emails/email-order-details.php(90): do_action()\n#5 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/prodlicen...')\n#6 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-emails.php(421): wc_get_template()\n#7 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): WC_Emails->order_details()\n#8 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#9 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#10 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/templates/emails/customer-completed-order.php(38): do_action()\n#11 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/prodlicen...')\n#12 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()\n#13 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(109): wc_get_template_html()\n#14 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/emails/class-wc-email.php(588): WC_Email_Customer_Completed_Order->get_content_html()\n#15 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(69): WC_Email->get_content()\n#16 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): WC_Email_Customer_Completed_Order->trigger()\n#17 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#18 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()\n#19 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array()\n#20 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): WC_Emails::send_transactional_email()\n#21 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#22 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#23 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-order.php(395): do_action()\n#24 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()\n#25 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-order.php(151): WC_Order->save()\n#26 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-checkout.php(1081): WC_Order->payment_complete()\n#27 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-checkout.php(1286): WC_Checkout->process_order_without_payment()\n#28 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout()\n#29 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout()\n#30 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#31 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#32 /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()\n#33 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()\n#34 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#35 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#36 /home/prodlicentie/domains/productsite.nl/public_html/wp-includes/template-loader.php(13): do_action()\n#37 /home/prodlicentie/domains/productsite.nl/public_html/wp-blog-header.php(19): require_once('/home/prodlicen...')\n#38 /home/prodlicentie/domains/productsite.nl/public_html/index.php(17): require('/home/prodlicen...')\n#39 {main}\n thrown in /home/prodlicentie/domains/productsite.nl/public_html/site/plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Email.php on line 36\n, referer: https://www.productsite.nl/winkelmand/
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘PHP Fatal error: array_key_exists’ is closed to new replies.