LoginSignup
5
5

More than 5 years have passed since last update.

cakephp3 You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php

Posted at

composerでアップデートしたら
タイトルどおりのエラーが出た。

php.iniで設定してもエラーが消えない。
ということで、 190行目らへんを

/config/app.php


    'Error' => [
        'errorLevel' => E_ALL & ~E_USER_DEPRECATED,//左のように変更
        'exceptionRenderer' => 'Cake\Error\ExceptionRenderer',
        'skipLog' => [],
        'log' => true,
        'trace' => true,
    ],


に変更するとエラーが消える。

5
5
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5