Support » Plugin: Table of Contents Block » This block contains unexpected or invalid content

  • Resolved mezzomedia

    (@mezzomedia)


    Dear Achal,

    Thanks for the nice block plugin.

    I am currently testing it with a website I’m making for a client. All seems to be working well when creating and configuring the block from H3 elements.

    However, when I go back to a page where I’ve previously inserted this block, in the WordPress block editor I’m seeing the following message:

    This block contains unexpected or invalid content” instead of the auto-generated block.

    After pressing ‘Attempt Block Recovery’, most of the settings except for the Include/Exclude options are recovered properly.

    I’m seeing the following PHP notices appear in my error log:
    [proxy_fcgi:error] [pid 2791:tid 139760307791616] [client xx.xx.xx.xx] AH01071: Got error 'PHP message: PHP Notice: Undefined index: a:1:{s:3:"ssl";b:1;} in /var/www/example.com/public/wp-includes/class-requests.php on line 214PHP message: PHP Notice: Undefined index: a:1:{s:3:"ssl";b:1;} in /var/www/example.com/public/wp-includes/class-requests.php on line 214', referer: https://example.com/wp-admin/post.php?post=24&action=edit
    (real URL + path replaced with example.com)

    This same behavior happens on multiple pages of different length.

    Using:
    – WordPress 5.7.2
    – several other plugins

    Any clue on how to solve this?

    Please let me know if I can help with any additional (non-sensitive ;-)) information.

    Cheers!

    • This topic was modified 11 months, 2 weeks ago by mezzomedia.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Achal Jain

    (@ibachal)

    Hi @mezzomedia

    I am sorry for the delayed response. I’ve fixed the issue and released an update.

    Please update the plugin to the latest version 1.0.1. If asked, please click on “Attempt Block Recovery” in the editor. It should fix the issue.

    Also, the PHP notice seems to be caused by openssl extension of PHP. OpenSSL appears to be disabled, you can contact your web host regarding this.

    Thanks

    Thread Starter mezzomedia

    (@mezzomedia)

    Hi @ibachal

    Thanks a lot for the new version, updating and using your instructions seem to have solved the issue!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This block contains unexpected or invalid content’ is closed to new replies.