Hi @dgomez,
We don’t have a Row Layout Block.
What we have is a GB Grid Block. Reference: https://docs.generateblocks.com/article/grid-overview/
The Row Block is from WordPress. It would be best to reach out in the WordPress forum regarding this instead: https://ww.wp.xz.cn/support/forum/wp-advanced/
I would also suggest disabling plugins to test for any plugin-conflict that may cause this issue.
Thread Starter
dgomez
(@dgomez)
The error indicates that the problem is with a file that is part of generate blocks though.
Thread Starter
dgomez
(@dgomez)
I redid the formating on the page and the error is gone. Maybe something got corrupted.
I see. Glad you found a solution. Perhaps indeed it was corrupted.
I have the same error, same line 1004 – clearly it’s not a random error.
Warning: Undefined array key “uniqueId” in /home/mercurpl/web/pinguin.ro/public_html/wp-content/plugins/generateblocks/includes/blocks/class-container.php on line 1004
Plugin Support
David
(@diggeddy)
Hi there,
each of the GB blocks is given a uniqueID when added to a page. That error would suggest that a Container Block on your page is missing its uniqueID – which should not happen.
You may need to rebuild that page layout to fix that problem.
I solved it. I just deleted the block containing the paragraph and placed it back in. Thank you!
I’m having the same issue — the site is quite large, though with hundreds of pages so rebuilding every one to find the problem is not practical.
Undefined array key “uniqueId” in …/plugins/generateblocks/includes/blocks/class-container.php on line 1004
Is there any way to isolate it?
Hi there,
Unfortunately, there’s no easy way to isolate it.
You can start a staging site, and enable displaying PHP errors on the Frontend with a config line like this:
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
Then, try to view pages from when you recalled the error started appearing.