-
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
We changed the reference of Services
class.
#582
Conversation
Looks good. Thanks1 |
Merged thanks!! |
I'm currently getting an error with a fresh download that I think is caused by this merge. The error is:
|
@daylightstudio Weird, I'm not seeing that. Did a git clone, went to the folder and ran |
OK. Let me have some other folks at work test it out to see if they can replicate. I wasn't seeing anyone else complaining about the issue either so let me dig into it further and I'll report back what I'm able to find out. What version of PHP 7 are you running just for comparison even though it seems highly unlikely that's the issue? I was testing it on a basic MAMP installation with PHP 7.0.10. |
That was tested under a MAMP 7.0.15 release. |
FYI, I upgraded to the latest version of MAMP that has the 7.0.15 version and the problem went away. Not sure if it was a PHP/MAMP version or something else, but my issue has been resolved. |
Good to know! Very strange issue, though. |
In WAMP I use PHP 7.0.10 and i get the same message: Fatal error: Cannot use Config\Services as Services because the name is already in use in C:\wamp64\www\CodeIgniter4\system\CodeIgniter.php on line 38 |
I tried to overwrite
Router
withapplication/Config/Services.php
, butCodeIgniter.php
refers toCodeIgniter\Config\Servces
.Therefore, I made this PR.
sample:
application/Config/Services.php