• Hi!
    Thank you for this great app.

    In the last couple of days I’ve been testing the plugin, I have received this error twice:

    [STDERR] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /path_to_dir/wp-content/plugins/truepush-free-web-push-notifications/truepush-main.php:322
    Stack trace:
    #0 /path_to_dir/wp-content/plugins/truepush-free-web-push-notifications/truepush-active.php(336): Truepush_main::send_notification_to_server()
    #1 /path_to_dir/wp-includes/class-wp-hook.php(292): Truepush_Install::send_truepush_post()
    #2 /path_to_dir/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #3 /path_to_dir/wp-includes/plugin.php(484): WP_Hook->do_action()
    #4 /path_to_dir/wp-includes/post.php(5014): do_action()
    #5 /path_to_dir/wp-includes/post.php(4284): wp_transition_post_status()
    #6 /path_to_dir/wp-includes/post.php(4486): wp_insert_post()
    #7 /path_to_dir/wp-admin/includes/post.php(419): wp_updat in /path_to_dir/wp-content/plugins/truepush-free-web-push-notifications/truepush-main.php on line 322

    This happens after pressing the Save button in the editor (not publish).

    • This topic was modified 3 years, 9 months ago by tavara.
  • The topic ‘Cannot use object of type WP_Error as array’ is closed to new replies.