• Resolved joshuabl

    (@joshuabl)


    I have a fatal error crashing all pages that are using the Ultimate Blocks tabbed content. Here’s the error it’s throwing:

    Fatal error: Uncaught Error: Call to undefined function str_get_html() in /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-content/plugins/ultimate-blocks/src/blocks/tabbed-content/block.php:36 Stack trace: #0 [internal function]: ub_render_tabbed_content_block() #1 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-content/plugins/stackable-ultimate-gutenberg-blocks-premium/pro__premium_only/src/dynamic-content/init.php(45): call_user_func() #2 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-includes/class-wp-block.php(255): Stackable\DynamicContent\Stackable_Dynamic_Content->Stackable\DynamicContent\{closure}() #3 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-includes/class-wp-block.php(241): WP_Block->render() #4 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-includes/blocks.php(883): WP_Block->render() #5 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-includes/blocks.php(921): render_block() #6 /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-includes/class in /home/562608.cloudwaysapps.com/spkwewzhyq/public_html/wp-content/plugins/ultimate-blocks/src/blocks/tabbed-content/block.php on line 36

    The pages work when I deactivate the Ultimate Blocks. I’ve also cleared all our site caches and tested for a plugin conflict with Stackable (another blocks plugin) but that wasn’t the issue.

    Note: The plugin is currently deactivated so the “page I need help with” is working.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @joshuabl! Thanks for letting us know. We found the cause of the issue and made a fix for it. Here’s what you can do to apply the fix if you need it urgently:

    • Download this file and save it under the filename of block.php.
    • Navigate to your WordPress plugins folder and go to the folder for Ultimate Blocks.
    • Go to the src/blocks/tabbed-content folder.
    • Inside the folder, look for a file named block.php, and rename it into something else (just to make sure you still have the old file when the new one doesn’t work).
    • Paste the block.php file you downloaded into the folder.

    If needed, you can repeat the above steps for src/blocks/content-toggle with this file.

    Please let us know how it goes.

    Thread Starter joshuabl

    (@joshuabl)

    Hi @alexius08,

    Added the updated block.php file and that fixed it (I didn’t need to add the second file). Thanks for the help and quick response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call to undefined function str_get_html()’ is closed to new replies.