Title: fatal error in editor
Last modified: September 15, 2026

---

# fatal error in editor

 *  Resolved [helgo3000](https://wordpress.org/support/users/helgo3000/)
 * (@helgo3000)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/fatal-error-in-editor/)
 * Hi. Thank you for a proper block plugin! It does exactly what I want and not 
   too much more and I am considering a PRO version for a client project.
 * Everything seemed to work fine out of the box – plugin settings and front end,
   but when I try to edit a page I get a fatal error and can not enter editor mode.
 * [14-Sep-2026 12:42:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function SPBFW\Rendering\Hooks\wp_doing_rest() in /kunder/wp/k/kastanjehagenno/
   wp-utvikling/wp-content/plugins/smart-product-badges-for-woocommerce/includes/
   Rendering/Hooks/Blocks_Hooks.php:45
 * When I deactivate the plugin, everything is fine.
 * Help highly appreciated and thank you for the very promising plugin!
 * Best
   Helge

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

 *  Plugin Author [cartengine](https://wordpress.org/support/users/cartengine/)
 * (@cartengine)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/fatal-error-in-editor/#post-19020865)
 * Hi Helge ,
 * Thank you for the kind words — and for the clear bug report!
 * You found a real issue: in the block editor the plugin called `wp_doing_rest()`,
   which is not a WordPress core function. That caused the fatal error when opening
   the editor. The frontend kept working because that code path was never reached
   there.
 * This is fixed in version 1.2.1. Please update the plugin and you should be able
   to edit pages normally again.
 * Sorry for the trouble, and thanks again for trying the plugin (and for considering
   PRO for your client project). If anything else comes up, just reply here.
 * Best regards,
    CartEngine team
 *  Thread Starter [helgo3000](https://wordpress.org/support/users/helgo3000/)
 * (@helgo3000)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/fatal-error-in-editor/#post-19021255)
 * Hi,
   No problem at all. Thank you for your swift reply and updated version. Love
   your approach! Keep it up and good luck 🙂
 * Best

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-in-editor%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/smart-product-badges-for-woocommerce/assets/icon-256x256.
   png?rev=3484216)
 * [Smart Product Badges for WooCommerce](https://wordpress.org/plugins/smart-product-badges-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-product-badges-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-product-badges-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-product-badges-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-product-badges-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-product-badges-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [helgo3000](https://wordpress.org/support/users/helgo3000/)
 * Last activity: [2 weeks, 2 days ago](https://wordpress.org/support/topic/fatal-error-in-editor/#post-19021255)
 * Status: resolved