Fixed 5 more errors

Nioute

Member
Hi nobita what's up o//
I got some error last weekend

1) Undefined variable: team

Code:
Erreur Info
ErrorException: Undefined variable: team - library/Nobita/Teams/ControllerPublic/Comment.php:368
Généré par: Cryptic, Samedi à 03:38
Trace de la pile

#0 /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php(368): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/html/l...', 368, Array)
#1 /var/www/html/library/XenForo/FrontController.php(347): Nobita_Teams_ControllerPublic_Comment->actionLikes()
#2 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/html/index.php(13): XenForo_FrontController->run()
#4 {main}

État de la demande

array(3) {
  ["url"] => string(257) "http://mysite.fr/escouades/comments/371/likes?comment_type=post&team_id=27&post_id=204&&_xfRequestUri=%2Fescouades%2Fposts%2F204%2Fshow&_xfNoRedirect=1&_xfToken=244%2C1428712668%2C34dc07ddb8edf369658b74fdb9067dbe37f72795&_xfResponseType=json"
  ["_GET"] => array(7) {
    ["comment_type"] => string(4) "post"
    ["team_id"] => string(2) "27"
    ["post_id"] => string(3) "204"
    ["_xfRequestUri"] => string(25) "/escouades/posts/204/show"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(55) "244,1428712668,34dc07ddb8edf369658b74fdb9067dbe37f72795"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }

2) Undefined variable: category

Code:
Erreur Info
ErrorException: Undefined variable: category - library/Nobita/Teams/ControllerPublic/Comment.php:369
Généré par: Cryptic, Samedi à 03:38
Trace de la pile

#0 /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php(369): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/html/l...', 369, Array)
#1 /var/www/html/library/XenForo/FrontController.php(347): Nobita_Teams_ControllerPublic_Comment->actionLikes()
#2 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/html/index.php(13): XenForo_FrontController->run()
#4 {main}

État de la demande

array(3) {
  ["url"] => string(257) "http://mysite.fr/escouades/comments/371/likes?comment_type=post&team_id=27&post_id=204&&_xfRequestUri=%2Fescouades%2Fposts%2F204%2Fshow&_xfNoRedirect=1&_xfToken=244%2C1428712668%2C34dc07ddb8edf369658b74fdb9067dbe37f72795&_xfResponseType=json"
  ["_GET"] => array(7) {
    ["comment_type"] => string(4) "post"
    ["team_id"] => string(2) "27"
    ["post_id"] => string(3) "204"
    ["_xfRequestUri"] => string(25) "/escouades/posts/204/show"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(55) "244,1428712668,34dc07ddb8edf369658b74fdb9067dbe37f72795"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

3 ) Undefined variable: team

Code:
Erreur Info
ErrorException: Undefined variable: team - library/Nobita/Teams/ControllerPublic/Comment.php:373
Généré par: Cryptic, Samedi à 03:38
Trace de la pile
#0 /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php(373): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/html/l...', 373, Array)
#1 /var/www/html/library/XenForo/FrontController.php(347): Nobita_Teams_ControllerPublic_Comment->actionLikes()
#2 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/html/index.php(13): XenForo_FrontController->run()
#4 {main}
État de la demande
array(3) {
["url"] => string(257) "http://mysite.fr/escouades/comments/371/likes?comment_type=post&team_id=27&post_id=204&&_xfRequestUri=%2Fescouades%2Fposts%2F204%2Fshow&_xfNoRedirect=1&_xfToken=244%2C1428712668%2C34dc07ddb8edf369658b74fdb9067dbe37f72795&_xfResponseType=json"
["_GET"] => array(7) {
["comment_type"] => string(4) "post"
["team_id"] => string(2) "27"
["post_id"] => string(3) "204"
["_xfRequestUri"] => string(25) "/escouades/posts/204/show"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(55) "244,1428712668,34dc07ddb8edf369658b74fdb9067dbe37f72795"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}

4 ) Undefined variable: category

Code:
Erreur Info
ErrorException: Undefined variable: category - library/Nobita/Teams/ControllerPublic/Comment.php:373
Généré par: Cryptic, Samedi à 03:38
Trace de la pile

#0 /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php(373): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/html/l...', 373, Array)
#1 /var/www/html/library/XenForo/FrontController.php(347): Nobita_Teams_ControllerPublic_Comment->actionLikes()
#2 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/html/index.php(13): XenForo_FrontController->run()
#4 {main}

État de la demande

array(3) {
  ["url"] => string(257) "http://mysite.fr/escouades/comments/371/likes?comment_type=post&team_id=27&post_id=204&&_xfRequestUri=%2Fescouades%2Fposts%2F204%2Fshow&_xfNoRedirect=1&_xfToken=244%2C1428712668%2C34dc07ddb8edf369658b74fdb9067dbe37f72795&_xfResponseType=json"
  ["_GET"] => array(7) {
    ["comment_type"] => string(4) "post"
    ["team_id"] => string(2) "27"
    ["post_id"] => string(3) "204"
    ["_xfRequestUri"] => string(25) "/escouades/posts/204/show"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(55) "244,1428712668,34dc07ddb8edf369658b74fdb9067dbe37f72795"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

5) Argument 2 passed to Nobita_Teams_ControllerPublic_Abstract::_getTeamViewWrapper() must be of the type array, null given, called in /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php on line 375 and defined - library/Nobita/Teams/ControllerPublic/Abstract.php:64

Code:
Erreur Info
ErrorException: Argument 2 passed to Nobita_Teams_ControllerPublic_Abstract::_getTeamViewWrapper() must be of the type array, null given, called in /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php on line 375 and defined - library/Nobita/Teams/ControllerPublic/Abstract.php:64
Généré par: Cryptic, Samedi à 03:38
Trace de la pile

#0 /var/www/html/library/Nobita/Teams/ControllerPublic/Abstract.php(64): XenForo_Application::handlePhpError(4096, 'Argument 2 pass...', '/var/www/html/l...', 64, Array)
#1 /var/www/html/library/Nobita/Teams/ControllerPublic/Comment.php(375): Nobita_Teams_ControllerPublic_Abstract->_getTeamViewWrapper('wall', NULL, NULL, Object(XenForo_ControllerResponse_View))
#2 /var/www/html/library/XenForo/FrontController.php(347): Nobita_Teams_ControllerPublic_Comment->actionLikes()
#3 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/html/index.php(13): XenForo_FrontController->run()
#5 {main}

État de la demande

array(3) {
  ["url"] => string(257) "http://mysite.fr/escouades/comments/371/likes?comment_type=post&team_id=27&post_id=204&&_xfRequestUri=%2Fescouades%2Fposts%2F204%2Fshow&_xfNoRedirect=1&_xfToken=244%2C1428712668%2C34dc07ddb8edf369658b74fdb9067dbe37f72795&_xfResponseType=json"
  ["_GET"] => array(7) {
    ["comment_type"] => string(4) "post"
    ["team_id"] => string(2) "27"
    ["post_id"] => string(3) "204"
    ["_xfRequestUri"] => string(25) "/escouades/posts/204/show"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(55) "244,1428712668,34dc07ddb8edf369658b74fdb9067dbe37f72795"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Addon 2.2.9
Php 5.5.20

Thx good luck
 
Last edited:
Back
Top