patch for array_merge(): Argument #1 is not an array
-
I have a Warning in my site:
array_merge(): Argument #1 is not an array Type: PHP Warning Line: 622 File: /wp-content/plugins/woocommerce-product-archive-customiser/woocommerce-product-archive-customiser.php
I patched it adding this line at 583 in the same file:
if ( ! is_array($body_classes) ) { $body_classes = []; }
Hope it helps
- The topic ‘patch for array_merge(): Argument #1 is not an array’ is closed to new replies.