Support » Plugin: OneSignal - Web Push Notifications » error when creating post

  • i am getting this error when making a post
    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/schola27/public_html/wp-content/plugins/onesignal-free-web-push-notifications/onesignal-admin.php:779 Stack trace: #0 /home/schola27/public_html/wp-content/plugins/onesignal-free-web-push-notifications/onesignal-admin.php(893): OneSignal_Admin::send_notification_on_wp_post(‘publish’, ‘publish’, Object(WP_Post)) #1 /home/schola27/public_html/wp-includes/class-wp-hook.php(286): OneSignal_Admin::on_transition_post_status(‘publish’, ‘publish’, Object(WP_Post)) #2 /home/schola27/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/schola27/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /home/schola27/public_html/wp-includes/post.php(4446): do_action(‘transition_post…’, ‘publish’, ‘publish’, Object(WP_Post)) #5 /home/schola27/public_html/wp-includes/post.php(3852): wp_transition_post_status(‘publish’, ‘publish’, Object(WP_Post)) #6 /home/schola27/public_html/wp-includes/post.php(4028 in /home/schola27/public_html/wp-content/plugins/onesignal-free-web-push-notifications/onesignal-admin.php on line 779

Viewing 1 replies (of 1 total)
  • Plugin Author OneSignal

    (@onesignal)

    Thank you for reporting this. We have just released a new version that should display errors correctly which will provide some insight into the issue you are encountering. Please update and let us know if you continue encountering any issues. We’d be happy to help.

    The OneSignal Team

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.