-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Fatal error: Uncaught CodeIgniter\HTTP\Exceptions\HTTPException: Unknown HTTP status code provided with no message: 167 #6227
Comments
If it works when you comment out the You misuse |
What database are you using? |
We can reproduce this error. <?php
namespace App\Controllers;
class Home extends BaseController
{
public function index()
{
throw new \RuntimeException('Sample exception', 167);
}
} You will see:
|
@Darius01W This bug was fixed in |
PHP Version
8.1
CodeIgniter4 Version
4
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
No response
What happened?
ehm id write an api and this comes:
Steps to Reproduce
Expected Output
nothing
Anything else?
PLEASE HELP
The text was updated successfully, but these errors were encountered: