Skip to content

error php  #56

@Gskill75

Description

@Gskill75

Hello I have the following error.
Do you know how to solve it because I did not find.
I use PHP8.1 fpm on debian 11
Thank you in advance for your answers.

Wed Jun 29 10:36:01.159405 2022] [proxy_fcgi:error] [pid 21923:tid 140473356224256] [client 172.16.1.254:62631] AH01071: Got error 'PHP message: PHP Deprecated: Return type of Drupal\Core\Render\Markup::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/drupal/web/core/lib/Drupal/Component/Render/MarkupTrait.php on line 71PHP message: PHP Deprecated: Return type of Drupal\Core\Render\Markup::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/drupal/web/core/lib/Drupal/Component/Render/MarkupTrait.php on line 61'
[Wed Jun 29 10:36:01.232020 2022] [proxy_fcgi:error] [pid 21923:tid 140473339438848] [client 172.16.1.254:62631] AH01071: Got error 'PHP message: PHP Deprecated: Return type of Drupal\Core\Render\Markup::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/drupal/web/core/lib/Drupal/Component/Render/MarkupTrait.php on line 71PHP message: PHP Deprecated: Return type of Drupal\Core\Render\Markup::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/drupal/web/core/lib/Drupal/Component/Render/MarkupTrait.php on line 61', referer: http://xxx.xxx/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions