Support

Home Forums Event Espresso Premium Critical error with latest wordpress, PHP 7.4 and latest Event espresso

Critical error with latest wordpress, PHP 7.4 and latest Event espresso

Posted: December 7, 2022 at 5:09 am

Viewing 5 reply threads


Tom

December 7, 2022 at 5:09 am

The latest version of the plugin brings down my site. I am running the most recent wordpress and anytime I attempt to upgrade my PHP beyond 7.1 event expresso brings down the site. The most recent version of plug in no longer supports the older PHP so I am at a bit of an impass


Tony

  • Support Staff

December 7, 2022 at 5:34 am

Hi there,

Which specific version number of Event Espresso are you running?

What error are you getting?


Tom

December 7, 2022 at 7:40 am

WordPress version 6.1.1
Active theme: Avada (version 7.8.2)
Current plugin: Event Espresso (version 4.10.40.p)
PHP version 7.4.10

Error Details
=============
An error of type E_ERROR was caused in line 107 of the file /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php. Error message: Uncaught Error: Call to undefined function ctype_alpha() in /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php:107
Stack trace:
#0 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php(47): EEH_Inflector::pluralize(‘Price’)
#1 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php(655): EEH_Inflector::pluralize_and_lower(‘Price’)
#2 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Soft_Delete_Base.model.php(40): EEM_Base->__construct(NULL)
#3 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Price.model.php(59): EEM_Soft_Delete_Base->__construct(NULL)
#4 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugin


Tony

  • Support Staff

December 7, 2022 at 1:38 pm

The above error means PHP ctpye module has not been enabled on the version of PHP your server is running:

https://www.php.net/manual/en/book.ctype.php

You may have options to enable that module within your host’s control panel, if not, you will need to contact your host and have them enable it for you.


Tom

December 8, 2022 at 6:06 pm

Thank you, not sure why the host would not include this module by default. When I enable it Event Espresso works! Yay however it crashes my theme, Avada. Grr. Thanks for the help, I will reach out to the theme author for insight. I appreciate the fast response from you guys.


Tony

  • Support Staff

December 9, 2022 at 3:35 am

There’s always something to fix somewhere 🙂

I’m glad the above worked for you.

Viewing 5 reply threads

The support post ‘Critical error with latest wordpress, PHP 7.4 and latest Event espresso’ 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