Support

Home Forums Event Espresso Premium API: Could not find Class of Type:Registrations, Facade"

API: Could not find Class of Type:Registrations, Facade"

Posted: April 24, 2013 at 11:33 am

Viewing 2 reply threads


Robert Lindauer

April 24, 2013 at 11:33 am

Hi all,

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.


Dean

April 29, 2013 at 6:23 am

Hi Robert,

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.


Michael Nelson

  • Support Staff

April 29, 2013 at 2:18 pm

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.

Event Espresso