I have found the solution! The problem was in the Intercom PHP Package. In the src/ folder of the package they were writing the folder of the intercom namespace in lowercase letters like so:
src/intercom/...
Since intercom doesn't match the namespace Intercom it didn't work!
However, on my local Mac it did work, since I guess the Mac is case-insensitive and doesn't care?!
I have been pulling my hair over this one and hope this helps others with this kind of issue...
Make sure that your Namespace matches the folder case in which it resides.
This happens on Windows environments as well, and I pulled out a few hairs before I worked that out too.
Maybe it's about git, you are pushing changings with some certain case sensitive Folders and Files, but git is changing this therefore it will work on Mac and Windows OSs but not on the server.
just use this command:
git config core.ignorecase false
above command for the current repository and you may add --global
just after config keyword for global use.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community