[bd] Push Notification 2.1.1b

Mobile push notification with Pushover and Pushbullet

  1. xfrocks

    xfrocks XenForo rocks! Staff Member

    xfrocks submitted a new resource:

    [bd] Pushover Integration - Mobile push notification for alerts.

    Read more about this resource...
     
    Tags:
    MattW, john_the_tester and Arms like this.
  2. john_the_tester

    john_the_tester New Member Partner

    xfrocks likes this.
  3. Daniel-Sp

    Daniel-Sp New Member

    Awesome !
     
  4. MattW

    MattW Member

    Getting lots of these in the error log

    Server Error Log
    Error Info
    ErrorException: Fatal Error: Unsupported operand types - library/bdPushover/XenForo/DataWriter/Alert.php:15
    Generated By: Unknown Account, 8 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(32) "https://z22se.co.uk/deferred.php"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(67) "/threads/which-parts-can-cause-performance-issues-flat-spots.19398/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  5. MattW

    MattW Member

    This is the function causing the problem

    PHP:
        protected function _postSaveAfterTransaction()
        {
            
    $assoc $this->_bdPushover_getAlertedUserPushoverAssoc();
            if (!empty(
    $assoc))
            {
                
    $sender $this->_bdPushover_getSender();

                
    bdPushover_Helper_Alert::enqueue($this->getMergedData() + $sender$assoc);
            }
        }
     
  6. xfrocks

    xfrocks XenForo rocks! Staff Member

  7. mouth

    mouth New Member

  8. MattW

    MattW Member

    Does this fix the errors? I'm getting no push alerts, and an error each time deferred is called
     
  9. MattW

    MattW Member

    Nope, error still there and no alerts

    Code:
    Server Error Log
    Error Info
    ErrorException: Fatal Error: Unsupported operand types - library/bdPushover/XenForo/DataWriter/Alert.php:15
    Generated By: Unknown Account, 2 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
      ["url"] => string(32) "https://z22se.co.uk/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(10) "/admin.php"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    I've turned Delayed Push off to see if that helps.
     
  10. MattW

    MattW Member

    No difference. Got hundreds of these errors now :(
     
  11. xfrocks

    xfrocks XenForo rocks! Staff Member

    Looks like a conflict. Do you have idea of any add-on that deals with alerts?
     
  12. MattW

    MattW Member

  13. xfrocks

    xfrocks XenForo rocks! Staff Member

  14. MattW

    MattW Member

    Disabled, and didn't re-enable the delay option.
     
  15. xfrocks

    xfrocks XenForo rocks! Staff Member

    And...?
     
  16. MattW

    MattW Member

    Nope, still got another error come though with that disabled.
     
  17. xfrocks

    xfrocks XenForo rocks! Staff Member

    How many add-ons to you have? Is it possible to disable all of them except for this one add-on to find the conflict?
     
  18. MattW

    MattW Member

  19. MattW

    MattW Member

    Have disabled Live Update first.
     
  20. MattW

    MattW Member

    Not that one either. Looks like I might have to start disabling them all :(
     
Loading...