Explode Argument Error expected type (string) got (array)
-
I’ve recently had a hardware( hosting from PHP 7 to 8.1) and software update ( theme and woocommerce from 6.xx/8.xx to 9.4.3) and although I can access all areas of the frontend I can explore all areas of the backend except the Products List Page ( I can add edit update but not view list). Errors logs show
Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:475Error have a similar pattern and are related to product information, variations etc.
My Setup is WordPress SSR – Pastebin.com
I have tried clearing the transients / updating the tables( kept saying its complete and verifying is successful) and regenerating the product attributes( stuck at “Filling 300”) But to no avail. I’m at the point to do a backup but not without trying to export the products which is giving me errors because of it.
Any advice on how to proceed with solving this problem? I tried going line by line but as fast as I solve one problem another one pops up( similar error “product” related code)
The topic ‘Explode Argument Error expected type (string) got (array)’ is closed to new replies.