• 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:827

    Warning:
    in_array() expects parameter 2 to be array, string given
    Location:
    wp-content/plugins/laybuy-gateway-for-woocommerce/includes/class-wc-gateway-laybuy.php:827

    Notice:
    Constant MEMORY_LIMIT already defined
    Location:
    wp-config.php:99

    Your 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.47

    Thanks
    Steve

Viewing 1 replies (of 1 total)
  • Thread Starter Steve Truman

    (@a3rev)

    Ok sorry – could not wait any longer for a response and there has been another version release since I posted this and no fix.

    Have rolled the version back to 5.1.11 – and the notices are gone and the frontend can work again.

    Have turned off auto updates and will wait for advise that the issue is fixed before updating.

    Steve

Viewing 1 replies (of 1 total)
  • The topic ‘PHP count(), in_array() Warnings and Constant MEMORY_LIMIT Notice’ is closed to new replies.