Title: Error in plugin settings
Last modified: September 30, 2019

---

# Error in plugin settings

 *  Resolved [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/)
 * Hi Patrick,
 * I’m getting this error when using Events Manager – Email Users (4.1.4). It first
   occured when I changed the “Apply to all EM Emails” setting.
 * `Fatal error: Uncaught Error: Call to undefined method Stonehenge_Plugin::load_assets()
   in /homepages/36/d41694676/htdocs/wp-content/plugins/events-manager-email-users/
   config/more.php:34 Stack trace: #0 /homepages/36/d41694676/htdocs/wp-includes/
   class-wp-hook.php(286): Stonehenge_More_Plugins::show_this_page('') #1 /homepages/
   36/d41694676/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('',
   Array) #2 /homepages/36/d41694676/htdocs/wp-includes/plugin.php(465): WP_Hook-
   >do_action(Array) #3 /homepages/36/d41694676/htdocs/wp-admin/admin.php(253): 
   do_action('stonehenge_page...') #4 {main} thrown in /homepages/36/d41694676/htdocs/
   wp-content/plugins/events-manager-email-users/config/more.php on line 34`
 * In addition to that, the “Add Plain Text Version” setting is only showed sometimes.
   Most of the time, it’s not even there. Maybe it has something to do with this
   setting.
 * OT: What is the difference between the plain text version that can be added at
   this place and the code you’ve posted [here](https://wordpress.org/support/topic/set-notification-sender-address-as-booking-email/page/2/#post-11069872)?
 * Thank you very much!
    -  This topic was modified 6 years, 8 months ago by [fabian96](https://wordpress.org/support/users/fabian96/).

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

 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11983404)
 * It seems you are mixing up things…
 * That error _was_ there, BUT not where you claim. That part of the code is _only_
   called when you click the “More” sub menu item. It had nothing to do with the
   toggle you mentioned. It has been resolved in the already released update.
 * Also, “Add Plain Text” is only shown if you have set “Apply to All Emails”, meaning
   using the credentials above that toggle also to the native booking emails.
 * That option is extremely useful for WordPress MultiSite users, as EM only allows
   network-wide email credentials, while a WP MS can have different companies/domain
   names below it. This option allows MultiSite Admins to finally set the outgoing
   EM email credentials per blog.
 * Only, when you allow this plugin to hook into the native booking emails, you 
   will see the question to add the missing plain text version to those. Clicking
   the toggle shows/hide the question. Pretty simple.
 * The option to add a plain text version is not mentioned anywhere else. So not“
   sometimes”. All emails constructed by this plugin (so not the booking emails 
   EM sends out) always have the plain text version added, to prevent being marked
   as spam. It is just that is is a missing option in EM itself, that I added that
   option. But again, only if you allow the plugin to alter the native EM emails.
 *  Thread Starter [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11983744)
 * You‘re right concerning the error. I just got this email as I was on the settings
   page.
 * But the plain text option is still not shown although the apply to EM option 
   is activated. If I click on this toggle (without changing it!) suddenly the option
   will appear. This way the option will also appear if the apply to EM option is
   deactivated. There seems to be a bug.
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11983794)
 * No it’s not a bug. It is only visible when “Apple to All” = Yes.
 * Sounds like you are having a javascript problem. Check your browser console for
   that.
 *  Thread Starter [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11985474)
 * I’ve checked my website, it doesn’t have any javascript problem. The bug is still
   there in the latest version. The plain text option will only be displayed if 
   I click on the “apply to all” toggle (without changing it).
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11985586)
 * IT IS NOT A BUG!
 * I will stop now.
 *  Thread Starter [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-11985906)
 * I’d be surprised if that was the intended behavior.
 * [⌊EM-Email-Users-Bug⌉⌊EM-Email-Users-Bug⌉[
    -  This reply was modified 6 years, 8 months ago by [fabian96](https://wordpress.org/support/users/fabian96/).
    -  This reply was modified 6 years, 8 months ago by [fabian96](https://wordpress.org/support/users/fabian96/).
    -  This reply was modified 6 years, 8 months ago by [fabian96](https://wordpress.org/support/users/fabian96/).
 *  Thread Starter [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-12024579)
 * [@duisterdenhaag](https://wordpress.org/support/users/duisterdenhaag/): Have 
   you checked the provided gif?
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-12024592)
 * No. IT IS NOT A BUG! I’ve tried to explain to you how it works, but you seem 
   tone that.
 *  Thread Starter [fabian96](https://wordpress.org/support/users/fabian96/)
 * (@fabian96)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-12024597)
 * Yes, I’ve understood your explanation how it should work and this of course make
   sense to me. But it does not really work as you explained as you can see in the
   gif.
    -  This reply was modified 6 years, 7 months ago by [fabian96](https://wordpress.org/support/users/fabian96/).

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

The topic ‘Error in plugin settings’ is closed to new replies.

 * ![](https://ps.w.org/events-manager-email-users/assets/icon-256x256.jpg?rev=2146382)
 * [Events Manager - Email Users](https://wordpress.org/plugins/events-manager-email-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager-email-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager-email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager-email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager-email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager-email-users/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [fabian96](https://wordpress.org/support/users/fabian96/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/error-in-plugin-settings/#post-12024597)
 * Status: resolved