• lifechangingtruthministries

    (@lifechangingtruthministries)


    Hi Murali, all things were working fine, but after OneSignal made a mandatory update to simplify their plugin, there’s error (thought the Push Notifications were sent normally) but there’s error shown & an alert inside the PNFPB saying OneSignal isn’t installed (though it’s installed)
    The error causes the login of users & registration to the make blank page….Now I turned OneSignal off to avoid that…so please it’s urgent. Help me.

    The error is:

    ===============

    /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/pnfpb_send_notification_routines/pnfpb_onesignal_notification/pnfpb_onesignal_notification.php. رسالة الخطأ: Uncaught Error: Class “OneSignal” not found in /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/pnfpb_send_notification_routines/pnfpb_onesignal_notification/pnfpb_onesignal_notification.php:14 

    Stack trace: 

    #0 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php(6394): include() 

    #1 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/post_custom_post_type_notification/post_custom_post_type_send_notification.php(264): PNFPB_ICFM_Push_Notification_Post_BuddyPress->PNFPB_icfcm_onesignal_push_notification(2866, ‘\xD8\xA7\xD9\x84\xD8\xB1\xD9\x8A\xD8\xA7\xD8\xB6\xD8\xA9 …’, ‘     [audi…’, ‘https://lifecha…’, ”, Array) 

    #2 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php(4568): include(‘/home/lifechan/…’) 

    #3 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/post_custom_post_type_notification/pnfpb_post_push_notification_routine.php(519): PNFPB_ICFM_Push_Notification_Post_BuddyPress->PNFPB_icforum_push_notifications_post_web(‘\xD8\xA7\xD9\x84\xD8\xB1\xD9\x8A\xD8\xA7\xD8\xB6\xD8\xA9 …’, ‘ \r\n

    ==========

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Murali

    (@murali-indiacitys)

    I will look into it and get back to you

    Plugin Author Murali

    (@murali-indiacitys)

    Hi

    New version released today to fix those problems. It will fix those errors and compatible with latest version of onesignal sdk except below thing. Please clear your all caches, website cache, cdn cache after updating to new version for your website. I have tested in my test site, it is working fine.

    I have also found one more thing related to latest version of onesignal sdk, external id (userid) is not uploading to onesignal dashboard using latest version due to onesignal.coreDirector not found which is related to onesignal sdk. Today I have reported to onesignal helpdesk and i have also reported this to ceo of onesignal. Same issue is reported to onesignal in github also, i think we need to wait for onesignal to fix those errors (https://github.com/OneSignal/OneSignal-Website-SDK/issues/1202), it will affect one to one notifications based on userids only for new users, for users who are already subscribed one to one notifications will work. If there is delay from onesignal then there is one more alternate way using REST API onesignal, i will try to modify the code to have alternate approach using onesignal REST API if onesignal delays in resolving websdk onesignal.login problem to upload externalid.

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