Open simkoG opened 1 year ago
I have noticed that the plugin is generating plenty of warning log entries in the wp_log file (ifWP_DEBUG is enabled, of course).
WP_DEBUG
PHP Warning: Undefined array key "uniqueId" in /wp-content/plugins/generateblocks/includes/blocks/class-container.php on line 945
I am not sure. The error occurs on a pre-release website. If I deactivate Generateblocks, it stops the addition of new entries.
No log entry.
...
https://github.com/tomusborne/generateblocks/blob/e0b4e467256bfe7543ef82c395b175c5cabc250f/includes/blocks/class-container.php#L943-L946
This should never happen as every block has a uniqueId by default.
uniqueId
Is this happening when using a Query Loop by chance?
Description
I have noticed that the plugin is generating plenty of warning log entries in the wp_log file (if
WP_DEBUG
is enabled, of course).PHP Warning: Undefined array key "uniqueId" in /wp-content/plugins/generateblocks/includes/blocks/class-container.php on line 945
Steps to reproduce
I am not sure. The error occurs on a pre-release website. If I deactivate Generateblocks, it stops the addition of new entries.
Expected behavior
No log entry.
Actual behavior
...
References:
https://github.com/tomusborne/generateblocks/blob/e0b4e467256bfe7543ef82c395b175c5cabc250f/includes/blocks/class-container.php#L943-L946