: nl2br(): Passing null to parameter #1 ($string) of type string is deprecated [in
Code
<p>
<span class="label">Description </span><?= nl2br($brand->description) ?>
</p>
nl2br [internal], line ??
include /var/www/flas/templates/Franchise/profile.php, line 210
Cake\View\View::_evaluate() /var/www/flas/vendor/cakephp/cakephp/src/View/View.php, line 1220
Cake\View\View::_render() /var/www/flas/vendor/cakephp/cakephp/src/View/View.php, line 1177
Cake\View\View::render() /var/www/flas/vendor/cakephp/cakephp/src/View/View.php, line 808
Cake\Controller\Controller::render() /var/www/flas/vendor/cakephp/cakephp/src/Controller/Controller.php, line 773
Cake\Controller\Controller::invokeAction() /var/www/flas/vendor/cakephp/cakephp/src/Controller/Controller.php, line 556
Cake\Controller\ControllerFactory::handle() /var/www/flas/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139
Cake\Controller\ControllerFactory::invoke() /var/www/flas/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114
Cake\Http\BaseApplication::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 77
Authentication\Middleware\AuthenticationMiddleware::process() /var/www/flas/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 73
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() /var/www/flas/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 73
Cake\Http\Runner::run() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() /var/www/flas/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() /var/www/flas/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() /var/www/flas/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131
Cake\Http\Runner::handle() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 73
Cake\Http\Runner::run() /var/www/flas/vendor/cakephp/cakephp/src/Http/Runner.php, line 58
Cake\Http\Server::run() /var/www/flas/vendor/cakephp/cakephp/src/Http/Server.php, line 90
[main] /var/www/flas/webroot/index.php, line 47