Undefined constant CodeIgniter\Router\Router::HTTP_METHODS |
Hi guys,
Can someone tell me what this error means? I can see the constant is defined in Router.php. Code: CRITICAL - 2024-06-25 16:30:02 --> Error: Undefined constant CodeIgniter\Router\Router::HTTP_METHODS PHP Code: class Router implements RouterInterface
According to the PHP Manual:
class constant are by default public in nature but they cannot be assigned visibility factor and in turn gives syntax error. PHP Code: <?php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
No.
Quote:Note: See https://3v4l.org/o7LIW
Testing my code with CI_ENVIRONMENT = production, works fine.
But on development, a critical error is thrown. Looks like something related to the debug toolbar. I've no idea to where to look, suggestions welcome. Code: CRITICAL - 2024-06-25 16:30:02 --> Error: Undefined constant CodeIgniter\Router\Router::HTTP_METHODS
If the constant HTTP_METHODS is defined in CodeIgniter\Router\Router, I have no idea why the error occurs.
|
Welcome Guest, Not a member yet? Register Sign In |