You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My server has a few channels where guests can neither join nor see users inside of them because they lack permissions to join the channel and to subscribe to it. This seems to really throw off the Text and HTML generator.
How to trigger
Create a channel where a user lacks permissions to subscribe
Create server query parameters from said users
Connect to the server using the given query parameters
Trigger with $viewer=new TeamSpeak3_Viewer_Text();echo $server->getViewer($viewer);
$server is a connected TS3 library instance.
Expected outcome
Channels without subscription power are skipped in a similar way that the regular TS3 client does.
Actual outcome
PHP Crash
Key
Value
Type
TeamSpeak3_Adapter_ServerQuery_Exception
Message
insufficient client permissions (failed on i_channel_subscribe_power)
Description
My server has a few channels where guests can neither join nor see users inside of them because they lack permissions to join the channel and to subscribe to it. This seems to really throw off the Text and HTML generator.
How to trigger
$viewer=new TeamSpeak3_Viewer_Text();echo $server->getViewer($viewer);
$server
is a connected TS3 library instance.Expected outcome
Channels without subscription power are skipped in a similar way that the regular TS3 client does.
Actual outcome
PHP Crash
Trace:
Reply.php(88) fetchError(object)
ServerQuery.php(140) __construct(array,string,object,boolean)
Abstract.php(70) request(string,boolean)
Server.php(87) request(string,boolean)
Server.php(647) request(string)
Channel.php(118) clientList()
Channel.php(514) clientList()
Abstract.php(462) fetchNodeList()
Abstract.php(479) verifyNodeList()
Abstract.php(511) count()
Abstract.php(195) hasChildren()
channel-api.php(20) getViewer(object)
The text was updated successfully, but these errors were encountered: