Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 API: Could not find Class of Type:Registrations, Facade" | Event Espresso - Staging Server
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.