Title: PHP 8.3 breaks Plugin
Last modified: February 24, 2023

---

# PHP 8.3 breaks Plugin

 *  [daveszt](https://wordpress.org/support/users/daveszt/)
 * (@daveszt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-3-breaks-plugin/)
 * 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.1Active 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:60Stack 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

The topic ‘PHP 8.3 breaks Plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/draft-notifier.svg)
 * [Draft Notifier](https://wordpress.org/plugins/draft-notifier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/draft-notifier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/draft-notifier/)
 * [Active Topics](https://wordpress.org/support/plugin/draft-notifier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/draft-notifier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/draft-notifier/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [daveszt](https://wordpress.org/support/users/daveszt/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/php-8-3-breaks-plugin/)
 * Status: not resolved