Skip to content
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

index.php broken? #3

Open
devTwitchiger opened this issue Aug 22, 2023 · 1 comment
Open

index.php broken? #3

devTwitchiger opened this issue Aug 22, 2023 · 1 comment

Comments

@devTwitchiger
Copy link

Fatal error: Uncaught TypeError: error_reporting(): Argument #1 ($error_level) must be of type ?int, string given in C:\xampp\htdocs\sinusbot\index.php:3 Stack trace: #0 C:\xampp\htdocs\sinusbot\index.php(3): error_reporting('E_ERROR') #1 {main} thrown in C:\xampp\htdocs\sinusbot\index.php on line 3

Screenshot of index.php?

@devTwitchiger
Copy link
Author

devTwitchiger commented Aug 22, 2023

FIX
set line 2 or 3 to :
ini_set('display_errors', 1);
on every php file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant