• Not work after 5.5 update with error:

    
    Uncaught Error: Object of class WP_Post could not be converted to string in send-email-only-on-reply-to-my-comment.php:1092
    Stack trace:
    #0 send-email-only-on-reply-to-my-comment.php(1092): preg_replace(Array, '', Object(WP_Post))
    #1 send-email-only-on-reply-to-my-comment.php(787): wp_subscribe_reloaded->clean_email(Object(WP_Post))
    #2 /www/wp-includes/class-wp-hook.php(287): wp_subscribe_reloaded->delete_subscriptions(12342, Object(WP_Post))
    #3 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /www/wp-includes/post.php(3078): do_action('delete_post', 12342, Ob
Viewing 2 replies - 1 through 2 (of 2 total)
  • I have a very similar issue! When trying to edit a post, I suddenly get a fatal error.

    This is the Query monitor log:

    Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string
    in /nas/content/live/[sitename]/wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php on line 1092
    
    Call stack:
    
    preg_replace()
    wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php:1092
    
    wp_subscribe_reloaded::clean_email()
    wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php:787
    
    wp_subscribe_reloaded::delete_subscriptions()
    wp-includes/class-wp-hook.php:287
    
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    
    do_action()
    wp-includes/post.php:3078
    
    wp_delete_post()
    wp-includes/revision.php:456
    
    wp_delete_post_revision()
    wp-admin/edit-form-advanced.php:259
    
    require()
    wp-admin/post.php:206
    Thread Starter zeroxzed

    (@zeroxzed)

    I got the same error while editing a post. I have to disable the plugin and enable it after editing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not work after 5.5 update’ is closed to new replies.