Title: shortcode causing spontaneous preview
Last modified: July 1, 2021

---

# shortcode causing spontaneous preview

 *  [scottcrew](https://wordpress.org/support/users/scottcrew/)
 * (@scottcrew)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shortcode-causing-spontaneous-preview/)
 * When I am editing the page that I want sermons to display on, every time I start
   putting in the shortcode for sermons [sermons] wordpress spontaneously starts
   trying to generate a preview (without me even clicking the preview button) and
   the preview page is blank even if there is code for the page. I can’t even finish
   putting in a shortcode before it starts to do that. There are also issues with
   saving the page and I keep getting errors.
    I am using this with Divi (if anyone
   is familiar with Elegant Themes’ Divi theme & builder). It only happens with 
   shortcode for Sermon Browser. I also have WP Forms installed that uses shortcodes
   but it doesn’t cause the spontaneous preview when entering the shortcode. Does
   anyone have any ideas as to why this is happening or experienced something like
   this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [scottcrew](https://wordpress.org/support/users/scottcrew/)
 * (@scottcrew)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shortcode-causing-spontaneous-preview/#post-14616786)
 * Wordpress generated some error stuff… Anybody else experience this? Any Solutions??
 *     ```
       An error of type E_ERROR was caused in line 3 of the file /home/thegatew/thegateway.church/site/wp-content/plugins/sermon-browser/sermon.php(478) : eval()'d code. Error message: Uncaught Error: Call to undefined function sb_print_filters() in /home/thegatew/thegateway.church/site/wp-content/plugins/sermon-browser/sermon.php(478) : eval()'d code:3
       Stack trace:
       #0 /home/thegatew/thegateway.church/site/wp-content/plugins/sermon-browser/sermon.php(478): eval()
       #1 /home/thegatew/thegateway.church/site/wp-includes/shortcodes.php(343): sb_shortcode(Array, '', 'sermons')
       #2 [internal function]: do_shortcode_tag(Array)
       #3 /home/thegatew/thegateway.church/site/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(sermon...', 'do_shortcode_ta...', '[sermons series...')
       #4 /home/thegatew/thegateway.church/site/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(2770): do_shortcode('[sermons series...')
       #5 /home/thegatew/thegateway.church/site/wp-includes/shortcodes.php(343): ET_Builder_Element->_render(Array, '[sermons series...', 'et_pb_text')
       #6 [internal function]: do_shortcode_tag(Array)
       #7 /home/thegatew/thegateway.church/site/wp-includes/shortcodes.php(218): p
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘shortcode causing spontaneous preview’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sermon-browser_10232e.svg)
 * [Sermon Browser](https://wordpress.org/plugins/sermon-browser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sermon-browser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sermon-browser/)
 * [Active Topics](https://wordpress.org/support/plugin/sermon-browser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sermon-browser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sermon-browser/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [scottcrew](https://wordpress.org/support/users/scottcrew/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/shortcode-causing-spontaneous-preview/#post-14616786)
 * Status: not resolved