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

Error DotEnv.php on line 121 #216

Closed
tasmanwebsolutions opened this issue Aug 3, 2016 · 2 comments
Closed

Error DotEnv.php on line 121 #216

tasmanwebsolutions opened this issue Aug 3, 2016 · 2 comments

Comments

@tasmanwebsolutions
Copy link

When I installed this version of CI got error.

Fatal error: Default value for parameters with a class type hint can only be NULL in C:\xampp\htdocs\project-codeigniter4\system\Config\DotEnv.php on line 121

@lonnieezell
Copy link
Member

It sounds like you're not using PHP 7+. Can you confirm the version of PHP you're using?

@tasmanwebsolutions
Copy link
Author

You were right. I had to uninstall my old version of xampp which did not have the php 7 the one before that. On a note I love the home page and the debug bar. You can close the issue now.

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

2 participants