Tickets Fixed 10,000+ Server Errors since 1.5.3

Yesterday I did go to sleep and when I woke up this morning and logged into my board I got 10,000+ Server Errors of the following


Code:
Error Info
Invalid argument supplied for foreach() - library/NixFifty/Tickets/Model/Escalation.php:280

Stack Trace
#0 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(280): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/client...', 280, Array)
#1 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(196): NixFifty_Tickets_Model_Escalation->_getReplaceValues(Array)
#2 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(119): NixFifty_Tickets_Model_Escalation->prepareEscalationMessageInLanguage(Array, Array, 6)
#3 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Deferred/Escalate.php(75): NixFifty_Tickets_Model_Escalation->fireEscalation(Array, Array, Array)
#4 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(295): NixFifty_Tickets_Deferred_Escalate->execute(Array, Array, 8, '')
#5 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#6 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#7 /var/www/clients/client180/web812/web/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/deferred.php
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
            [_xfRequestUri] => /admin.php?logs/server-error&type=fatal_error
            [_xfNoRedirect] => 1
            [_xfToken] => ********
            [_xfResponseType] => json
        )

)


Code:
Error Info
Invalid argument supplied for foreach() - library/NixFifty/Tickets/Model/Escalation.php:280

Stack Trace
#0 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(280): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/client...', 280, Array)
#1 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(196): NixFifty_Tickets_Model_Escalation->_getReplaceValues(Array)
#2 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(119): NixFifty_Tickets_Model_Escalation->prepareEscalationMessageInLanguage(Array, Array, 6)
#3 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Deferred/Escalate.php(75): NixFifty_Tickets_Model_Escalation->fireEscalation(Array, Array, Array)
#4 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(295): NixFifty_Tickets_Deferred_Escalate->execute(Array, Array, 8, '')
#5 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#6 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#7 /var/www/clients/client180/web812/web/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/deferred.php
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
            [_xfRequestUri] => /threads/thread-title.1641/
            [_xfNoRedirect] => 1
            [_xfToken] => ********
            [_xfResponseType] => json
        )

)




Code:
Error Info
Undefined index: customFields - library/NixFifty/Tickets/Model/Escalation.php:280

Stack Trace
#0 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(280): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 280, Array)
#1 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(196): NixFifty_Tickets_Model_Escalation->_getReplaceValues(Array)
#2 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Model/Escalation.php(119): NixFifty_Tickets_Model_Escalation->prepareEscalationMessageInLanguage(Array, Array, 6)
#3 /var/www/clients/client180/web812/web/library/NixFifty/Tickets/Deferred/Escalate.php(75): NixFifty_Tickets_Model_Escalation->fireEscalation(Array, Array, Array)
#4 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(295): NixFifty_Tickets_Deferred_Escalate->execute(Array, Array, 8, '')
#5 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#6 /var/www/clients/client180/web812/web/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#7 /var/www/clients/client180/web812/web/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/deferred.php
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
            [_xfRequestUri] => /admin.php?logs/server-error
            [_xfNoRedirect] => 1
            [_xfToken] => ********
            [_xfResponseType] => json
        )

)


I had to deactivate the add-on to make it stop. It generated an additional 1000+ Server Errors while I wrote this bug report here.
 
Ah, I think I know what this is. Do you have any escalations that send messages / alerts / emails?
 
The good news is that the Server Errors have stopped... the bad news is: the escalations are completely messed up again... texts are missing or associated to the wrong escalations... aaargh... please find a way that for further updates this does not happen, because everybody has to write their escalation messages from scratch again....
 
the bad news is: the escalations are completely messed up again... texts are missing or associated to the wrong escalations... aaargh... please find a way that for further updates this does not happen, because everybody has to write their escalation messages from scratch again....
I think I've got this sorted for the next version now.
 
Back
Top