• Resolved jeremy.brookes

    (@jeremybrookes)


    In backend in WooCommerce, when editing a product I’m getting an error:
    Warning: Invalid argument supplied for foreach() in <<my server path>>/wp-content/plugins/advanced-gutenberg/assets/blocks/recent-posts/block.php on line 897

    I tried to do a little debugging and it seems like at line 895 $terms sometimes returns an array and others it returns a bool(false) which throws the foreach loop.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem in recent-posts/blocks.php’ is closed to new replies.