Install WPSS, WPSS for GB and Advanced Gutenberg v2.1.2
Create a post(s) and assign to a custom Category
Create a page and insert a Recent Posts block
Under Block Settings > Category, select the category created in step 2
Save and sync
RESULT:
Warning: Invalid argument supplied for foreach() in C:\Users\Erin\Documents\Websites\gutenberg-blocks-t.dev.cc\wp-content\plugins\advanced-gutenberg\assets\blocks\recent-posts\block.php on line 83
Happens to all custom Categories but sync works when "All" or "Uncategorized" is selected as the post category.
STEPS TO REPRODUCE:
RESULT:
Warning: Invalid argument supplied for foreach() in C:\Users\Erin\Documents\Websites\gutenberg-blocks-t.dev.cc\wp-content\plugins\advanced-gutenberg\assets\blocks\recent-posts\block.php on line 83 Happens to all custom Categories but sync works when "All" or "Uncategorized" is selected as the post category.
EXPECTED RESULT:
No warning messages. Categories sync.