-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class 'TeamSpeak3_Helper_String' not found #137
Comments
Seems to be an autoloading issue. I'll take a look at this as soon as I get the chance, but for now, I'd suggest including the |
I have the same problem. Seems like as it's related to PHP 7.4, because with PHP 7.3 I don't had this issue. I've also tested older versions of this library, but downgrading didn't fix this issue. Is there any reason for this difference here? Lines 32 to 38 in 9e987b6
|
Had the same problems upgrading to PHP7.4. Found out that it is related to this deprecation: Fixing the Helper/String.php and also the Adapter/Host.php It is working fine for me again. |
Master has a merged PR regarding replacing curly braces with brackets. Maybe it is related and would resolve this? #142 |
I've checked out the current master ( So no, this does not resolve it. |
I've created a PR #145. As soon as this is merged, I'll test this issue again with the current code from the |
Any news regarding this issue? |
I commented on your PR, was waiting for you to resolve the Travis CI ssh issue before merging into |
I've unfortunately not found any solution to install the PHP extension |
It might be a bit overkill, but maybe we could compile the extension from source for each instance...? |
Some changes and fixes have been merged into |
Ok, just tested the Old: New: After changing this, I get now the following error message:
|
I've fixed that issue, but there is now a different issue.
Running from one issue to another one. :( Could someone of you take a look at this please? @ronindesign @svenpaulsen
|
@ronindesign @svenpaulsen any updates? :'( |
Sorry for the lack of follow up on this! Hmm, at first glance, this seems like it might be a namespace / ps4 related problem. I know there's another issue related to namespacing / autoloading that Sven responded to, this might be related... I'll try to troubleshoot locally and follow up on this. |
This would be great, because I'm currently unable to manage any TeamSpeak 3 server since every API request is throwing this error. When do you expect a fix, which I or we can test? |
Any news? |
Any updates? |
@Sebi94nbg Apologies this has been blocking you. I've not had much time to work on this recently. Looking back at the error, two thoughts I have:
Though, I would think autoloader would manage this and Maybe you can troubleshoot by doing protected static function getAdapterName($name, $namespace = "TeamSpeak3_Adapter_")
{
$path = self::getFilePath($namespace);
var_dump(getcwd()); // or even die(getcwd());
$scan = scandir($path);
... Just to confirm the relative path? Apologies, again I don't have much time to test if composer / autoloading issue. |
I still get the same issue as described in the very first comment. Is there any fix for this? Class "TeamSpeak3_Node_Server" not found It works locally on mac os but windows. |
I am also having this issue, mine started causing an error when i updated composer to version 2 ? |
Same for me |
I'll just chime in and share how I fixed the "TeamSpeak3_Node_Server" issue (at least locally, some other issues might still arise with these fixes) I hope I can help someone with this ^^ |
Hey there? a new Solution? I did a workarround just implement it without composer. So download and Copy. This works fine. However, not the best solution. |
Closing this for now as I believe it is resolved in dev branch. Please target that in composer unless you experience issues. |
When I want to connect to the Team Speak server I get the error:
PHP 7.4.2
Laravel 6.8.0
My code:
The text was updated successfully, but these errors were encountered: