[Develop] - La compatibilité PHP 8.1 avec MaarchCourrier

Cet issue contiendra tous les warnings/errors de php 8.1


Participation à la recherche des erreurs sur la develop.

Dans vos /etc/php/8.1/apache2/php.ini et /etc/php/8.1/cli/php.ini veuillez afficher les erreurs et warnings.

error_reporting = E_ALL  
display_errors = On

Liste de correction

  • Warning: Undefined array key 2 in MaarchCourrierDevelop/src/app/versionUpdate/controllers/VersionUpdateController.php on line 268 error-versionUpdateSQL-1

  • Deprecated: json_decode(): Passing null to parameter nb 1 ($json) of type string is deprecated in MaarchCourrierDevelop/src/app/user/controllers/UserController.php on line 605

  • Warning: Undefined array key "values" in MaarchCourrierDevelop/src/app/home/controllers/TileController.php on line 757 image

  • Warning: Undefined array key "groupBy" in MaarchCourrierDevelop/src/app/search/models/SearchModel.php on line 70

  • Deprecated: json_decode(): Passing null to parameter #1 (closed) ($json) of type string is deprecated in MaarchCourrierDevelop/src/app/contact/controllers/ContactController.php on line 342

  • Deprecated: json_decode(): Passing null to parameter #1 (closed) ($json) of type string is deprecated in MaarchCourrierDevelop/src/app/indexingModel/controllers/IndexingModelController.php on line 81

  • Warning: Undefined array key "entityId" in MaarchCourrierDevelop/src/app/entity/controllers/ListTemplateController.php on line 156

  • Warning: Undefined array key "context" in MaarchCourrierDevelop/src/app/entity/controllers/ListTemplateController.php on line 543

  • Warning: Undefined array key "order" in MaarchCourrierDevelop/src/app/history/controllers/HistoryController.php on line 131

  • Warning: Undefined array key "received_date" in MaarchCourrierDevelop/src/app/resource/controllers/ResController.php on line 259

  • Warning: Undefined array key "limit" in MaarchCourrierDevelop/src/app/email/controllers/EmailController.php on line 453

  • Warning: Undefined array key "limit" in MaarchCourrierDevelop/src/app/attachment/controllers/AttachmentController.php on line 344

  • Warning: Undefined array key "limit" in MaarchCourrierDevelop/src/app/note/controllers/NoteController.php on line 50

  • Warning: Undefined array key "res_id" in MaarchCourrierDevelop/src/app/resource/controllers/LinkController.php on line 79

  • Deprecated: strtotime(): Passing null to parameter #1 (closed) ($datetime) of type string is deprecated in MaarchCourrierDevelop/src/app/resource/controllers/ResourceListController.php on line 963 and 702

  • Deprecated: json_decode(): Passing null to parameter #1 (closed) ($json) of type string is deprecated in MaarchCourrierDevelop/src/app/resource/controllers/StoreController.php on line 170

  • Warning: Undefined array key "mode" in MaarchCourrierDevelop/src/app/resource/controllers/ResController.php on line 1183

  • Warning: Undefined array key "document" in MaarchCourrierDevelop/src/app/email/controllers/EmailController.php on line 904

  • Warning: Undefined variable $signatoryId in MaarchCourrierDevelop/src/app/attachment/controllers/AttachmentController.php on line 712

Edited by Jean-Laurent DUZANT