We’ve loved and used this plugin for almost a decade now. Sadly the newest version of PHP seems to break it. Error below. Any chance it may be able to be fixed? Tx!
Error:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Newspaper (version 12.1)
Current plugin: Draft Notifier (version 1.2.1)
PHP version 8.1.16
Error Details
=============
An error of type E_ERROR was caused in line 60 of the file /homepages/23/d310607419/htdocs/heyuguys16/wp-content/plugins/draft-notifier/draft-notifier.php. Error message: Uncaught Error: Call to undefined function create_function() in /homepages/23/d310607419/htdocs/heyuguys16/wp-content/plugins/draft-notifier/draft-notifier.php:60
Stack trace:
#0 /homepages/23/d310607419/htdocs/heyuguys16/wp-content/plugins/draft-notifier/draft-notifier.php(90): mda_draft_notifier(378542)
#1 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/class-wp-hook.php(308): mda_dn_transition_post_status(‘pending’, ‘draft’, Object(WP_Post))
#2 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/post.php(5347): do_action(‘transition_post…’, ‘pending’, ‘draft’, Object(WP_Post))
#5 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/post.php(4607): wp_transition_post_status(‘pending’, ‘draft’, Object(WP_Post))
#6 /homepages/23/d310607419/htdocs/heyuguys16/wp-includes/post.php(4819): wp_insert_post(Array, false, true)
#7 /homepages/23/d310607419/htdocs/heyuguys16/wp-admin/includes/post.php(426): wp_update_post(Array)
#8 /homepages/23/d310607419/htdocs/heyuguys16/wp-admin/post.php(227): edit_post()
#9 {main}
thrown
We’d like to discourage recipients (authors) from replying to the draft notification message (as we use an off-domain email address to handle all support, and the draft notifier plugin only allows for customization of on-domain addresses).
Is it possible to add this to the Subject Line or Body of the message the author receives?
We’re OK rolling up our sleeves and modifying the plugin if need be … just need a little direction.
Thx!
-Brian & WR
]]>I was so happy to have discovered this plugin and during initial testing with my gmail address, I was on pace to leave a 5 star rating once successfully implemented.
When switching from the gmail address to any address on our company’s two different domains, we are unable to get the messages to come through.
Thinking that it might have been a rule in SpamAssassin (enabled on our mail server), we disabled and tested again, but to no avail.
My gut feeling is that there is a rule setup that is preventing mail from being delivered to our domain(s) when the sender is ‘masked’ as an address on our domain(s).
Anyone else experiencing this? Found a resolution? Ideas?
Please do share ??
]]>