Jalle19 / xbmc-video-server

Web interface for streaming or downloading media from a Kodi/XBMC library
GNU General Public License v3.0
191 stars 39 forks source link

Add support for running on PHP 8.x #334

Closed alanmilinovic closed 1 year ago

alanmilinovic commented 1 year ago

When running sudo php ./src/protected/yiic.php migrate --interactive=0 I get this error: PHP Fatal error: The (unset) cast is no longer supported in /var/www/html/xbmc-video-server/vendor/hoa/core/Core.php on line 146

I am on PHP 8.2.7.

Jalle19 commented 1 year ago

It seems like we have to replace the WebSocket library we're currently using

alanmilinovic commented 1 year ago

It seems like we have to replace the WebSocket library we're currently using

Hm, is it a big change?

Jalle19 commented 1 year ago

Shouldn't be that big, it's only used for library updates

alanmilinovic commented 1 year ago

Ok, thanks for the info. I will be waiting for the new commit and can perform some testing if needed.

Jalle19 commented 1 year ago

More issues:

PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /vagrant/vendor/netresearch/jsonmapper/src/JsonMapper.php on line 219, referer: http://10.110.3.31/setting/admin

Jalle19 commented 1 year ago

https://github.com/hoaproject/Http/issues/32

Jalle19 commented 1 year ago

Closed by https://github.com/Jalle19/xbmc-video-server/pull/336