planetteamspeak / ts3phpframework

Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
https://www.planetteamspeak.com
GNU General Public License v3.0
211 stars 59 forks source link

uasort() expects parameter 2 to be a valid callback #67

Closed qeekus closed 6 years ago

qeekus commented 6 years ago

error in `echo $ts3->getViewer(new TeamSpeak3_Viewer_Html("../api/images/viewer/", "../api/images/flags/", "data:image"));


2018/03/25 16:51:11 [error] 15638#15638: *409224 FastCGI sent in stderr: "PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: 
2018/03/25 16:51:11 [error] 15638#15638: *409224 FastCGI sent in stderr: "Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.p
2018/03/25 16:51:11 [error] 15638#15638: *409224 FastCGI sent in stderr: "() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/ht
2018/03/25 16:51:11 [error] 15638#15638: *409224 FastCGI sent in stderr: "3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server
2018/03/25 16:51:11 [error] 15638#15638: *409224 FastCGI sent in stderr: "ted method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method TeamSpeak3_Node_Server::sortGroupList() in /var/html/api/Viewer/Html.php on line 563
PHP message: PHP Warning:  uasort() expects parameter 2 to be a valid callback, cannot access protected method Te
svenpaulsen commented 6 years ago

Whoops... I broke this with one of my last commits. Please re-test with the current master.

qeekus commented 6 years ago

all is well. error logs clear.