Skip to content

"PHP Deprecated: ... " #1454

Open
Open
@emresaracoglu

Description

@emresaracoglu

Hello,

I have recently seen the following error occur. I have updated the library with Composer but the same errors still occur. How can I solve it?

Thank you.

PHP 8.2

PHP Deprecated: Creation of dynamic property Longman\TelegramBot\Entities\ServerResponse::$ok is deprecated in /var/www/***/vendor/longman/telegram-bot/src/Entities/Entity.php on line 81; PHP message: PHP Deprecated: Creation of dynamic property Longman\TelegramBot\Entities\ServerResponse::$result is deprecated in /var/www/***/vendor/longman/telegram-bot/src/Entities/Entity.php on line 81; PHP message: PHP Deprecated: Creation of dynamic property Longman\TelegramBot\Entities\ServerResponse::$raw_data is deprecated in /var/www/***/vendor/longman/telegram-bot/src/Entities/Entity.php on line 81; PHP message: PHP Deprecated: Creation of dynamic property Longman\TelegramBot\Entities\ServerResponse::$bot_username is deprecated in /var/www/***/vendor/longman/telegram-bot/src/Entities/Entity.php on line 81" while reading response header from upstream, client: 23.88.105.37, server: example.com, request: "GET /wos/cron HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.4-fpm/web3.sock:", host: "example.com"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions