Title: Call to undefined function str_get_html()
Last modified: March 2, 2022

---

# Call to undefined function str_get_html()

 *  Resolved [joshuabl](https://wordpress.org/support/users/joshuabl/)
 * (@joshuabl)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-str_get_html/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcall-to-undefined-function-str_get_html%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Alexis Pandaan](https://wordpress.org/support/users/alexius08/)
 * (@alexius08)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-str_get_html/#post-15420074)
 * Hi [@joshuabl](https://wordpress.org/support/users/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](https://github.com/Ultimate-Blocks/Ultimate-Blocks/raw/master/src/blocks/tabbed-content/block.php)
      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](https://github.com/Ultimate-Blocks/Ultimate-Blocks/raw/master/src/blocks/content-toggle/block.php).
 * Please let us know how it goes.
 *  Thread Starter [joshuabl](https://wordpress.org/support/users/joshuabl/)
 * (@joshuabl)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-str_get_html/#post-15420110)
 * Hi [@alexius08](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/ultimate-blocks/assets/icon-256x256.png?rev=2966061)
 * [Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor](https://wordpress.org/plugins/ultimate-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-blocks/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [joshuabl](https://wordpress.org/support/users/joshuabl/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-str_get_html/#post-15420110)
 * Status: resolved