xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
534 stars 120 forks source link

Fatal error: Method danog\MadelineProto\APIWrapper::__sleep() cannot be static #86

Closed muckelba closed 2 years ago

muckelba commented 2 years ago

Hey, i updated to the latest version of the Docker image but i get this error when i start it:

Starting MadelineProto...                                                                                                                                                     

Fatal error: Method danog\MadelineProto\APIWrapper::__sleep() cannot be static in /app-host-link/vendor/danog/madelineproto/src/danog/MadelineProto/APIWrapper.php on line 128
xtrime-ru commented 2 years ago

Hi! Only php8.0 is supported.

muckelba commented 2 years ago

Hi, im using this image and according to the Dockerfile it should use php8.0.

I'm using the provided docker-compose.yml. No changes made.

muckelba commented 2 years ago

Ok, i got it. I had a vendor dir in my local install. It works now after i deleted that and started the server again. Thanks