Error 500 - CLI.php - Use of undefined constant STDOUT |
As I understand, the problem appears because request from browser incorrectly identified as CLI one. This is why those constants are undefined.
@InsiteFX, I tried to put those definitions. Now I receive blank page (with no errors). My solution is to put older version of is_cli() into app/Common.php, overriding updated one from system/Common.php. (I've taken it from https://github.com/codeigniter4/CodeIgni...Common.php.) PHP Code: function is_cli(): bool Now pages open fine. |
Welcome Guest, Not a member yet? Register Sign In |