Using the {loop-position} dynamic inserter in a nested query triggers a fatal error when loading the page.
Fatal error: Uncaught Error: Unsupported operand types: array - int
in /public_html/wp-content/plugins/cwicly/core/includes/dynamic/render.php on line 364
Step-by-step reproduction instructions:
Open the Post Editor/Site Editor
Create a query block
Create a nested query block
Create a paragraph block inside the nested query block and use {loop-position} dynamic inserter
There is a workaround in the meantime using {loop-index} instead of {loop-position}.
Note: if anyone is using this workaround with pagination, the index of every first post on a page will be reset to 1. This may or may not be what you want.
Apologies for the trouble here, and thank you for the report.
This should be addressed in 1.2.9.8.
I’d be grateful if you could let me know if all is good on your end or if you’re still encountering issues with this specific issue.