Closed maxlobanov closed 9 years ago
I have the same issue. how can I fix it?
Hey @hadifarnoud I hope you have figured out by now, as @maksl explained, you just need to correct the casing of the namespace.Just change HugoFirth\Mailchimp
to Hugofirth\Mailchimp
on your vendor/hugofirth /mailchimp/src/Hugofirth/Mailchimp/Facades/MailChimpWrapper.php
file.
@vpakg is the package going to update with this fix?
Hey @hadifarnoud , I'm not a contributer to the package. We can do a pull request, but there is no garantee that the maintainers will merge.
I have updated master to include this simple fix. I'll tag a path release later today once I make sure there aren't other changes on master which shouldn't be tagged as a patch.
Your Facade uses
namespace HugoFirth\Mailchimp
, when all other files usesnamespace Hugofirth\Mailchimp
IDE autocompletes MailchimpWrapper' wrong namespace, and it causes an exception
'ErrorException' with message 'Class 'HugoFirth\Mailchimp\Facades\MailchimpWrapper' not found'
.P.S. It is not an critical issue and is solved easily with manual namespace declaration :)