• Resolved simkog

    (@simkog)


    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

    (@diggeddy)

    Hi there,

    can you share a link to the site where the error can be seen ?

    Thread Starter simkog

    (@simkog)

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    Hi @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

    (@simkog)

    Dear @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.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    What version of GB are you using? Are you also using GB Pro?

    Thread Starter simkog

    (@simkog)

    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

    (@diggeddy)

    Has that page been edited in the Code Editor view? Ie. the HTML of those blocks been edited.

    Thread Starter simkog

    (@simkog)

    Dear @diggeddy, I have never used the Code Editor View.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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

    (@simkog)

    Dear @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.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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.