Invoked extension not recognized/configured: html

I upgraded to 3.6 a few weeks ago and since the then error logs are full of the error below:

The thing the stack traces all have in common is a render line.

routes.php has the line:

$routes->setExtensions([‘json’, ‘xml’, ‘html’]);

I’m not sure where else to look to fix it.

2018-12-03 23:18:22 Error: [Cake\Http\Exception\NotFoundException] Invoked extension not recognized/configured: html in /var/www/html/vendor/cakephp/cakephp/src/Controller/Component/RequestHandlerComponent.php on line 338
Request URL: /Transactions/search?term=25531&T_Status=
Referer URL:
Client IP: 192.168.255.59
Stack Trace:
#0 /var/www/html/vendor/cakephp/cakephp/src/Event/EventManager.php(353): Cake\Controller\Component\RequestHandlerComponent->beforeRender(Object(Cake\Event\Event))
#1 /var/www/html/vendor/cakephp/cakephp/src/Event/EventManager.php(330): Cake\Event\EventManager->_callListener(Array, Object(Cake\Event\Event))
#2 /var/www/html/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php(114): Cake\Event\EventManager->dispatch(Object(Cake\Event\Event))
#3 /var/www/html/vendor/cakephp/cakephp/src/Controller/Controller.php(777): Cake\Controller\Controller->dispatchEvent(‘Controller.befo…’)
#4 /var/www/html/src/Controller/TransactionsController.php(1842): Cake\Controller\Controller->render(‘all’)
#5 /var/www/html/vendor/cakephp/cakephp/src/Controller/Controller.php(609): App\Controller\TransactionsController->search()
#6 /var/www/html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(120): Cake\Controller\Controller->invokeAction()
#7 /var/www/html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(94): Cake\Http\ActionDispatcher->_invoke(Object(App\Controller\TransactionsController))
#8 /var/www/html/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(67): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#9 /var/www/html/webroot/index.php(36): Cake\Routing\Dispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#10 {main}

same as https://github.com/cakephp/cakephp/issues/12585#issuecomment-437549557 ?

1 Like