Support » Plugin: Page Builder Gutenberg Blocks – CoBlocks » add_submenu_page call uses a string for position

  • Resolved Aaron Jorbin

    (@jorbin)


    Using the latest version of coblocks with WordPress nightly build on php7.4, I get the following error:

    <b>Warning</b>: array_slice() expects parameter 2 to be int, string given in <b>/var/www/daily.jorb.in/wp-admin/includes/plugin.php</b> on line <b>1397</b><br />
    <br />
    <b>Warning</b>: array_merge(): Expected parameter 2 to be an array, null given in <b>/var/www/daily.jorb.in/wp-admin/includes/plugin.php</b> on line <b>1401</b><br />
    <br />
    <b>Warning</b>: ksort() expects parameter 1 to be array, null given in <b>/var/www/daily.jorb.in/wp-admin/includes/plugin.php</b> on line <b>1406</b><br />
    NULL
    <br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/daily.jorb.in/wp-admin/includes/plugin.php</b> on line <b>1840</b><br />

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Anthony Ledesma

    (@paranoia1906)

    Hi @jorbin,

    Thank you for making this support request. I have put in a pull request to the official CoBlocks GitHub which will resolve this issue. You can track our progress here: https://github.com/godaddy/coblocks/pull/985

    Best regards,

    Anthony

    Plugin Author Anthony Ledesma

    (@paranoia1906)

    Hi @jorbin,

    I wanted to followup and let you know that this issue is now resolved and we have merged a fix into the official CoBlocks GitHub. We will have this fix released with the next update of CoBlocks. Please let us know if you have any further contributions.

    Best regards,

    Anthony

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add_submenu_page call uses a string for position’ is closed to new replies.