• Resolved aelius32

    (@aelius32)


    I have some error with this plugin:

    Errors from log:
    2019/03/24 19:06:35 [error] 53044#53044: *24504901 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new.capital.ro/wp-content/plugins/onesignal-free-web-push-notifications/onesignal-admin.php:779
    Stack trace:
    #0 /var/www/new.capital.ro/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 /var/www/new.capital.ro/wp-includes/class-wp-hook.php(286): OneSignal_Admin::on_transition_post_status(‘publish’, ‘publish’, Object(WP_Post))
    #2 /var/www/new.capital.ro/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/new.capital.ro/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /var/www/new.capital.ro/wp-includes/post.php(4446): do_action(‘transition_post…’, ‘publish’, ‘publish’, Object(WP_Post))
    #5 /var/www/new.capital.ro/wp-includes/post.php(3852): wp_transition_post_status(‘publish’, ‘publish’, Object(WP_Post))
    #6 /var/www/new.capital.ro/wp-includes/po” while reading response header from upstream, client: 2a02:2f0a:c610:8a00:cccd:b483:6866:fd28, server: capital.ro, request: “POST /wp-admin/post.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “www.capital.ro”, referrer: “https://www.capital.ro/wp-admin/post.php?post=494540&action=edit”

    Details:
    – PHP Version: 7.0.33
    – Web server: Nginx
    – WordPress version: 511

Viewing 3 replies - 1 through 3 (of 3 total)
  • We just released the newest version, though I think you were able to find the merged fixes through the master branch on the official OneSignal Github. Hope this solved the issue for you! We also released the version through the official plugin download method.

    Please let us know if you are no longer facing issues. Have a good day!

    The OneSignal Team

    Thread Starter aelius32

    (@aelius32)

    Hi,
    I will try the new version on this night.
    Thank you and have a good day too

    Hi. I hope OneSignal is continuing to work well for you.

    To help us continue providing great support, could you take a minute to leave us a 5-star review on www.ads-software.com? You may need to create an account first, but this just takes 5 minutes and helps us spread the word about OneSignal. https://www.ads-software.com/support/plugin/onesignal-free-web-push-notifications/reviews/#new-post

    Thank you very much for your support! Please feel free to get in touch any time if we can help further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP message: PHP Fatal error’ is closed to new replies.