Project

General

Profile

Actions

Task #48005

open

Feature #47869: *** F - Tests

Bugfix toutes les Deprecated Errors

Added by Pallier Etienne over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Start date:
12/06/2021
Due date:
% Done:

0%

Estimated time:
Remaining (hours)

Description

  • liée à Bootstrap-ui => à mettre à jour car on n'est que à la version 1.4 alors qu'il existe une version 3 !!! :
    Deprecated Error: Using string or bool for $context is deprecated, use null to make a context-less form. - /var/www/vendor/friendsofcake/bootstrap-ui/src/View/Helper/FormHelper.php, line: 160
    You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. in [/var/www/vendor/cakephp/cakephp/src/Core/functions.php, line 311]

  • Ca c'est à moi de le réger dans MON code template (/materiels/view) :
    Deprecated Error: RequestActionTrait::requestAction() is deprecated. You should refactor to use View Cells or Components instead. - /var/www/src/Template/Materiels/view.ctp, line: 264
    You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. in [/var/www/vendor/cakephp/cakephp/src/Core/functions.php, line 311]

  • ???
    Deprecated Error: Response::body() is deprecated. Mutable response methods are deprecated. Use withBody() and getBody() instead. - /var/www/vendor/cakephp/cakephp/src/Routing/Dispatcher.php, line: 68
    You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. in [/var/www/vendor/cakephp/cakephp/src/Core/functions.php, line 311]

  • Deprecated Error: ActionDispatcher::addFilter() is deprecated. This is only available for backwards compatibility with DispatchFilters - /var/www/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php, line: 61
    You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. in [/var/www/vendor/cakephp/cakephp/src/Core/functions.php, line 311]

  • Deprecated Error: ServerRequest::addParams() is deprecated. Use withParam() or withAttribute("params", $params) instead. - /var/www/vendor/cakephp/cakephp/src/Routing/Filter/RoutingFilter.php, line: 58
    You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. in [/var/www/vendor/cakephp/cakephp/src/Core/functions.php, line 311]

  • celle-ci, je ne vois pas comment la régler... :
    Deprecated Error: RequestHandlerComponent::beforeRedirect() is deprecated. This functionality will be removed in 4.0.0. Set the enableBeforeRedirect option to false to disable this warning. - /var/www/vendor/cakephp/cakephp/src/Event/EventManager.php, line: 351

Actions

Also available in: Atom PDF