Title: Undefined array key &#8220;uniqueId&#8221;
Last modified: May 17, 2023

---

# Undefined array key “uniqueId”

 *  Resolved [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/)
 * Dear Developers,
 * There is this warning on my homepage.
 * `Warning: Undefined array key "uniqueId" in /wp-content/plugins/generateblocks/
   includes/blocks/class-container.php on line 945`
 * What can cause this? I’ve tried to turn off every plugins, the warning still 
   there.
 * I know I can hide this wawrning if I disable `WP_DEBUG` but I want to make my
   new site without any PHP warnings.
 * Best regards,
   Gergo Simko

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

 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16744728)
 * Hi there,
 * can you share a link to the site where the error can be seen ?
 *  Thread Starter [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16747606)
 * Yes, of course! [https://dev.vitalharmony.hu/ ](https://dev.vitalharmony.hu/)
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16747631)
 * Hi [@simkog](https://wordpress.org/support/users/simkog/),
 * All Blocks should have an ID when added through the editor. Did you edit a Block
   of yours? In the Editor, do all blocks appear?
 *  Thread Starter [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16747665)
 * Dear [@fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/),
 * Yes, I can see all the blocks in the editor.
 * The other problem is that when I sent the link to you, I could see a warning 
   on the front page. However, it has now disappeared. I haven’t made any changes
   since then.
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16747686)
 * What version of GB are you using? Are you also using GB Pro?
 *  Thread Starter [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16747865)
 * GenerateBlocks free only, and the version is the latest (1.7.3).
 * I can finally confirm, that the warning only appears when the admin user is logged
   off.
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16748377)
 * Has that page been edited in the Code Editor view? Ie. the HTML of those blocks
   been edited.
 *  Thread Starter [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16748950)
 * Dear [@diggeddy](https://wordpress.org/support/users/diggeddy/), I have never
   used the Code Editor View.
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16750122)
 * That’s really odd. Did this issue just appear or was it appearing before? If 
   it just appeared, what Block did you add? Can you try removing or recreating 
   those to test?
 * Does this issue appear on any other page with GenerateBlocks?
 *  Thread Starter [simkog](https://wordpress.org/support/users/simkog/)
 * (@simkog)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16750589)
 * Dear [@fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/),
   I did not notice this warning warning while creating the page, just after finished
   that. So I do not know, which block caused the warning.
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16750615)
 * What you can do is to duplicate or copy and paste all the content of this page
   to a test page. Then try to delete section by section one by one until the issue
   disappears. Then, hopefully, we’ll find the problematic Block.
 *  [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * (@fernandoazarcon2)
 * [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16803060)
 * Hi there! We haven’t heard back from you for a while now so we’re going to go
   ahead and set this topic as resolved. Feel free to reply if you need any more
   help.

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

The topic ‘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/)

 * 12 replies
 * 3 participants
 * Last reply from: [fernandoazarcon2](https://wordpress.org/support/users/fernandoazarcon2/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/undefined-array-key-uniqueid/#post-16803060)
 * Status: resolved