Hi all,
At this URL:
{Base URL}/error/whatever
The following error will appear:
"Fatal error: Cannot declare class ErrorController, because the name is already in use..." (due a double "require" in application/core/Application.php at L37 and L51).
My suggestion for fixing this issue is to change L51 in application/core/Application.php:
(before) require Config::get('PATH_CONTROLLER') . 'ErrorController.php';
(after)require_once Config::get('PATH_CONTROLLER') . 'ErrorController.php';
Greetings
Hi all,
At this URL:
{Base URL}/error/whatever
The following error will appear:
"Fatal error: Cannot declare class ErrorController, because the name is already in use..." (due a double "require" in application/core/Application.php at L37 and L51).
My suggestion for fixing this issue is to change L51 in application/core/Application.php:
(before)
require Config::get('PATH_CONTROLLER') . 'ErrorController.php';(after)
require_once Config::get('PATH_CONTROLLER') . 'ErrorController.php';Greetings