You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for making this wrapper.
The issue that I'm facing is which ever class object I'm trying to intialize from the sdk I get the class not found error except for the Client.php class.
The issue can be resolved by matching the directory name and the class namespace.
e.g namespace Mediatoolkit\ActiveCampaign\Contacts;
should be namespaceMediatoolkit\ActiveCampaign\contacts;
namespace Mediatoolkit\ActiveCampaign\Deals;
should be namespaceMediatoolkit\ActiveCampaign\deals;
The text was updated successfully, but these errors were encountered:
It's actually the other way around - the folder names should match the classes.
deals should be renamed to Deals, contacts should be renamed to Contacts, etc.
That's the way every package and router under the sun works.
My guess is the authors of the library were using it on Windows, Mac (case-insensitive HFS+) or a similar non-case-sensitive filesystem/environment.
First of all thank you for making this wrapper.
The issue that I'm facing is which ever class object I'm trying to intialize from the sdk I get the class not found error except for the Client.php class.
The issue can be resolved by matching the directory name and the class namespace.
e.g namespace Mediatoolkit\ActiveCampaign\Contacts;
should be namespace Mediatoolkit\ActiveCampaign\contacts;
namespace Mediatoolkit\ActiveCampaign\Deals;
should be namespace Mediatoolkit\ActiveCampaign\deals;
The text was updated successfully, but these errors were encountered: