Title: Warning: Undefined array key &#8220;uniqueId&#8221;
Last modified: July 25, 2023

---

# Warning: Undefined array key “uniqueId”

 *  Resolved [dgomez](https://wordpress.org/support/users/dgomez/)
 * (@dgomez)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/)
 * I’m getting this error displayed on a page using the row layout block.
 * **Warning**: Undefined array key “uniqueId” in **/home/orchestra/www/www/wp-content/
   plugins/generateblocks/includes/blocks/class-container.php** on line **1004**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-uniqueid%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16919927)
 * Hi [@dgomez](https://wordpress.org/support/users/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/](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://wordpress.org/support/forum/wp-advanced/](https://wordpress.org/support/forum/wp-advanced/)
 * I would also suggest disabling plugins to test for any plugin-conflict that may
   cause this issue.
    -  This reply was modified 2 years, 11 months ago by [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/).
 *  Thread Starter [dgomez](https://wordpress.org/support/users/dgomez/)
 * (@dgomez)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16922296)
 * The error indicates that the problem is with a file that is part of generate 
   blocks though.
 *  Thread Starter [dgomez](https://wordpress.org/support/users/dgomez/)
 * (@dgomez)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16922332)
 * I redid the formating on the page and the error is gone. Maybe something got 
   corrupted.
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16922803)
 * I see. Glad you found a solution. Perhaps indeed it was corrupted.
 *  [mirceaiancu](https://wordpress.org/support/users/mirceaiancu/)
 * (@mirceaiancu)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16949418)
 * 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](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16949439)
 * 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.
 *  [mirceaiancu](https://wordpress.org/support/users/mirceaiancu/)
 * (@mirceaiancu)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16949453)
 * I solved it. I just deleted the block containing the paragraph and placed it 
   back in. Thank you!
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-16949457)
 * Glad to hear that
 *  [oobi75](https://wordpress.org/support/users/oobi75/)
 * (@oobi75)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-17231275)
 * 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?
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-17231375)
 * 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:
 *     ```wp-block-code
       define('WP_DEBUG', true);
       define('WP_DEBUG_DISPLAY', true);
       ```
   
 * Then, try to view pages from when you recalled the error started appearing.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Warning: Undefined array key “uniqueId”’ is closed to new replies.

 * ![](https://ps.w.org/generateblocks/assets/icon.svg?rev=3239461)
 * [GenerateBlocks](https://wordpress.org/plugins/generateblocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/generateblocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/generateblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/generateblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/generateblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/generateblocks/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-uniqueid/#post-17231375)
 * Status: resolved