PHP count(), in_array() Warnings and Constant MEMORY_LIMIT Notice
-
Hello support,
The Query Monitor and the Chrome Console are showing the following warnings from your plugin
Warning:
count(): Parameter must be an array or an object that implements Countable
Location:
wp-content/plugins/laybuy-gateway-for-woocommerce/includes/class-wc-gateway-laybuy.php:827Warning:
in_array() expects parameter 2 to be array, string given
Location:
wp-content/plugins/laybuy-gateway-for-woocommerce/includes/class-wc-gateway-laybuy.php:827Notice:
Constant MEMORY_LIMIT already defined
Location:
wp-config.php:99Your Plugin on the site is the latest version 5.1.12 as are all the plugins and theme.
WordPress v 5.5
WooCommerce v 4.4.1
PHP v 7.4.8
MySQL 5.6.47Thanks
Steve
- The topic ‘PHP count(), in_array() Warnings and Constant MEMORY_LIMIT Notice’ is closed to new replies.