PHP Fatal error: Uncaught TypeError
-
in case of a failed attempt to create a shipment, a server error occurs due to an incorrect order of parameters in the implode() method. Details below.
NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/html/wp-content/plugins/apaczka-pl/src/Shipping_Method_Apaczka.php:1417
Stack trace:0 /var/www/html/wp-content/plugins/apaczka-pl/src/Shipping_Method_Apaczka.php(1417): implode(Array, ‘,’)
1 /var/www/html/wp-content/plugins/apaczka-pl/src/Ajax.php(52): Inspire_Labs\Apaczka_Woocommerce\Shipping_Method_Apaczka::ajax_create_package()
2 /var/www/html/wp-content/plugins/apaczka-pl/src/Ajax.php(34): Inspire_Labs\Apaczka_Woocommerce\Ajax->create_package(1)
3 /var/www/html/wp-includes/class-wp-hook.php(308): Inspire_Labs\Apaczka_Woocommerce\Ajax->ajax_apaczka(”)
4 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
6 /var/www/html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_apaczka’)
7 {main}
thrown in /var/www/html/wp-content/plugins/apaczka-pl/src/Shipping_Method_Apaczka.php on line 1417
- The topic ‘PHP Fatal error: Uncaught TypeError’ is closed to new replies.