• Resolved dgomez

    (@dgomez)


    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 to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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://www.ads-software.com/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.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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!

    Plugin Support David

    (@diggeddy)

    Glad to hear that

    oobi75

    (@oobi75)

    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?

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Warning: Undefined array key “uniqueId”’ is closed to new replies.