PGBI/cakephp3-soft-delete

receive depreciate error

Opened this issue · 0 comments

App\Model\Table\UsersTable::connection() is deprecated. Use setConnection()/getConnection() instead. - /vagrant/app/vendor/pgbi/cakephp3-soft-delete/src/Model/Table/SoftDeleteTrait.php, line: 39
You can disable deprecation warnings by setting Error.errorLevel to E_ALL & ~E_USER_DEPRECATED in your config/app.php. [CORE/src/Core/functions.php, line 307]

PHP version: 7.0.30

CakePHP version: 3.6.2