Support

Home Forums Event Espresso Premium Fatal Error (26)

Fatal Error (26)

Posted: September 24, 2020 at 2:55 pm

Viewing 5 reply threads


wnyhe

September 24, 2020 at 2:55 pm

My client site is throwing off errors, they did some work in there today with registrations. can you help?
public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(741):%20EventEspresso/core/domain/entities/custom_post_types/CustomPostTypeDefinitions-%3EgetCustomPostTypeModelNames(false)%20#2%20/home/wnyhe/


Tony

  • Support Staff

September 25, 2020 at 2:39 am

Hi there,

Do you have the full stack trace for the above error?

Is it thrown on every request or a specific page?


wnyhe

September 25, 2020 at 6:57 am

@tony Stack Trace at the bottom
Error Details
=============
An error of type E_ERROR was caused in line 257 of the file
/home/wnyhe/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/custom_post_types/CustomPostTypeDefinitions.php.
Error message: Uncaught TypeError: Argument 2 passed to
EventEspresso\core\domain\entities\custom_post_types\CustomPostTypeDefinitions::getCustomPostTypeModelName()
must be of the type array, null given, called in
/home/wnyhe/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/custom_post_types/CustomPostTypeDefinitions.php
on line 243 and defined in
/home/wnyhe/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/custom_post_types/CustomPostTypeDefinitions.php:257
Stack trace:
#0 /home/wnyhe/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/custom_post_types/CustomPostTypeDefinitions.php(243):
EventEspresso\core\domain\entities\custom_post_types\CustomPostTypeDefinitions->getCustomPostTypeModelName(false,
NULL)
#1 /home/wnyhe/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(741):
EventEspresso\core\domain\entities\custom_post_types\CustomPostTypeDefinitions->getCustomPostTypeModelNames(false)
#2 /home/wnyhe/


Tony

  • Support Staff

September 28, 2020 at 5:59 am

Unfortunately, that’s still missing a lot of the trace so I don’t know what is causing the above.

Is that everything in the logs for that error?

When is it triggered on the site? As in what does the user need to do to trigger that error?


wnyhe

September 28, 2020 at 8:33 am

Tony
All the user did was enter in registrations manually. Nothing unusual.
Events esspresso is throwing off errors in my cpanel account too. We’re on a VPS Nginix server, but I have all the caching rules set up.


Tony

  • Support Staff

September 28, 2020 at 8:42 am

All the user did was enter in registrations manually. Nothing unusual.

That wouldn’t cause the above.

Is that everything in the logs for that error? The stack trace is missing over half the details.

Events esspresso is throwing off errors in my cpanel account too.

I’ll need the full errors to know what is going on, can you post those?

Viewing 5 reply threads

The support post ‘Fatal Error (26)’ 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