You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in merit-aktiva-for-woocommerce/includes/Integration.php:981
#2
Open
tsalumets opened this issue
Oct 1, 2024
· 0 comments
After activating plugin there is error.
PHP 8.0
[01-Oct-2024 19:49:15 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in/wp-content/plugins/merit-aktiva-for-woocommerce/includes/Integration.php:981
After activating plugin there is error.
PHP 8.0
[01-Oct-2024 19:49:15 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in/wp-content/plugins/merit-aktiva-for-woocommerce/includes/Integration.php:981
Error code:
$warehouses = explode( "\n", $this->get_option( 'warehouses', [] ) );
Fixed with:
$warehouses = explode( "\n", $this->get_option( 'warehouses', '' ) );
The text was updated successfully, but these errors were encountered: