Support

Home Forums Event Espresso Premium Fatal Error after updating to PHP V4

Fatal Error after updating to PHP V4

Posted: November 8, 2022 at 4:14 pm


monteail

November 8, 2022 at 4:14 pm

I currently have php 7.3.2 and Event Expresso works great. I updated my site to php V7.4 and the site crashed on event Expresso incompatibility.

Fatal error: Uncaught Error: Call to undefined function ctype_alpha() in /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php:107 Stack trace: #0 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php(47): EEH_Inflector::pluralize(‘Price’) #1 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/modules/core_rest_api/EED_Core_Rest_Api.module.php(1318): EEH_Inflector::pluralize_and_lower(‘Price’) #2 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/domain/services/assets/CoreAssetManager.php(224): EED_Core_Rest_Api::getCollectionRoutesIndexedByModelName() #3 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/domain/services/assets/CoreAssetManager.php(158): EventEspresso\core\domain\services\assets\CoreAssetMan in /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php on line 107
There has been a critical error on this website. Please check your site admin email inbox for instructions.


Tony

  • Support Staff

November 9, 2022 at 2:28 am

Hi there,

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 enabled it for you.


monteail

November 10, 2022 at 1:01 pm

Thanks Tony, I will give that a try.


monteail

November 10, 2022 at 1:19 pm

PHP ctpye module was enabled but their is another issue with the plugin.

Fatal error: Uncaught Error: Call to undefined function ctype_alpha() in /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php:107 Stack trace: #0 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php(47): EEH_Inflector::pluralize(‘Price’) #1 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/modules/core_rest_api/EED_Core_Rest_Api.module.php(1318): EEH_Inflector::pluralize_and_lower(‘Price’) #2 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/domain/services/assets/CoreAssetManager.php(224): EED_Core_Rest_Api::getCollectionRoutesIndexedByModelName() #3 /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/domain/services/assets/CoreAssetManager.php(158): EventEspresso\core\domain\services\assets\CoreAssetMan in /hermes/walnacweb07/walnacweb07ak/b2035/moo.heagster/WP/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Inflector.helper.php on line 107
There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.


Tony

  • Support Staff

November 10, 2022 at 1:28 pm

Hi there,

Is that the correct error? It’s the same error as your opening post:

Fatal error: Uncaught Error: Call to undefined function ctype_alpha()

Did the host restart the HTTP server? (Apache, Nginx etc) after including ctype?


monteail

November 14, 2022 at 9:55 am

That fix it, thanks again Tony.


Tony

  • Support Staff

November 14, 2022 at 2:11 pm

Awesome, thanks for confirming 🙂

Any further issues just let us know.

The support post ‘Fatal Error after updating to PHP V4’ 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