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.1
Active theme: Newspaper (version 12.1)
Current plugin: Draft Notifier (version 1.2.1)
PHP version 8.1.16Error 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
- The topic ‘PHP 8.3 breaks Plugin’ is closed to new replies.