Hi,
I recently upgraded to CI4 and also updated my WAMP to the latest version.
But my project hasn't worked since. There is MY_Controller class that is inherited from CI_Controller placed in application/core/
It gives me this error:
Code:
An uncaught Exception was encountered
Type: Error
Message: The "Generator" class is reserved for internal use and cannot be manually instantiated
Filename: C:\wamp64\www\alnoor\system\core\Loader.php
Line Number: 1285
Backtrace:
File: C:\wamp64\www\alnoor\application\core\MY_Controller.php
Line: 7
Function: __construct
File: C:\wamp64\www\alnoor\index.php
Line: 315
Function: require_once
Anybody knows what this means or how can I get it fixed?