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

Trying to access array offset on value of type int #186

Closed dwwe2017 closed 1 year ago

dwwe2017 commented 1 year ago

I have a lot of lines in my error log with the following message

[error] (8) Trying to access array offset on value of type int: ../vendor/planetteamspeak/ts3-php-framework/libraries/TeamSpeak3/Node/Host.php 613

https://github.com/planetteamspeak/ts3phpframework/blob/831ec5016162cc02ca45757cbf01c45911fc7591/libraries/TeamSpeak3/Node/Host.php#L613

Sebbo94BY commented 1 year ago

@dwwe2017 can you please provide some more information?

dwwe2017 commented 1 year ago

Hi, I'm using the latest version of the framework (1.1.35) and I'm using it as intended. The framework is currently operated with PHP 7.4.

I would suggest to include a check if the array keys exist.

ronindesign commented 1 year ago

This should now be resolved, please reopen if not.