I am getting
{
"status": "EspressoAPI Class Loader Error. Could not find Class of Type:Registrations, Facade",
"status_code": 500
}
when I post to /espresso-api/v1/events/3684/registrations/w5drv4nzo9
In the EspressoAPI_Events_Controller.class.php class around line 111 I see,
$attendeesFacade=EspressoAPI_ClassLoader::load('Registrations','Facade');
Is this a bug or am I doing something wrong.
Sorry for the delay in responding to you. I honestly am not sure of the issue behind this, I will refer it onto one of the developers behind the API for his thoughts.
yes that’s a bug that slipped through.
Thanks for pinpointing the problem. The line you specified should be $attendeesFacade = EspressoAPI_ClassLoader::load('Registrations','Resource');
NOT $attendeesFacade = EspressoAPI_ClassLoader::load('Registrations','Facade');
I’ve updated the beta version with this fix.
Viewing 2 reply threads
The support post ‘API: Could not find Class of Type:Registrations, Facade"’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.