Support

Home Forums Event Espresso Premium Event Espresso Crashes Site When Activated

Event Espresso Crashes Site When Activated

Posted: October 24, 2021 at 2:29 pm

Viewing 4 reply threads


ltdan

October 24, 2021 at 2:29 pm

I have two WordPress servers on Vultr. I moved both of my sites over from another host with All-In-One WP Migration.

One site leiag.org runs flawlessly.

The other site ldconsultingllc.com does not. When I activate event espresso the site crashes and I get timeout errors etc

some things I have tried:
I have deactivated every plugin and the site runs fast except for the fact there are no plugins features.
I then activate EE and it crashes the site.
I saw in the error log lots of ‘deprecated’ errors so
I have downgraded PHP from 8.0 to 7.2. no effect. it still crashes when I activate EE

I cleared my log and then tried to activate EE. I have attached the log below:

[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $ticket follows optional parameter $qty in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_Ticket_Sales_Monitor.module.php on line 249
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $source follows optional parameter $valid_reserved_ticket_line_items in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_Ticket_Sales_Monitor.module.php on line 992
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $reg_form follows optional parameter $req_data in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_Invisible.module.php on line 248
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $event follows optional parameter $html in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_Invisible.module.php on line 281
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $model_name follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php on line 95
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $allowed_enum_values follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php on line 226
[24-Oct-2021 20:13:46 UTC] PHP Deprecated: Required parameter $domain follows optional parameter $i18n_map in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/assets/I18nRegistry.php on line 63
[24-Oct-2021 20:17:35 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653
[24-Oct-2021 20:17:35 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653
[24-Oct-2021 20:17:48 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type espresso_attendees is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in >
[24-Oct-2021 20:17:48 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type espresso_attendees is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see
Debugging in >
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $pan_message follows optional parameter $pan_name in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Error.core.php on line 1159
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $file follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $func follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $line follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $file follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on line 45
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $func follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on line 45
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $line follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on line 45
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $capabilities_checker follows optional parameter $return_url in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php on line 68
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $request follows optional parameter $return_url in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php on line 68
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $old_value follows optional parameter $option in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php on line 402
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $value follows optional parameter $option in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php on line 402
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $EVT_ID in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Event.model.php on line 449
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $model_field_factory follows optional parameter $timezone in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Attendee.model.php on line 137
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $model_field_factory follows optional parameter $timezone in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_WP_User.model.php on line 32
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $reg_step follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 707
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 707
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $question follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 707
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $answer follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 707
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $reg_step follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 749
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 749
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $question follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 749
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $answer follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on line 749
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $transaction follows optional parameter $class in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php on line 1316
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $ticket follows optional parameter $qty in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_Ticket_Sales_Monitor.module.php on line 249
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $source follows optional parameter $valid_reserved_ticket_line_items in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_Ticket_Sales_Monitor.module.php on line 992
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $reg_form follows optional parameter $req_data in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_Invisible.module.php on line 248
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $event follows optional parameter $html in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_Invisible.module.php on line 281
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $model_name follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php on line 95
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $allowed_enum_values follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php on line 226
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $EE_Config follows optional parameter $settings in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Activation.helper.php on line 370
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $incoming_message_type follows optional parameter $content in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Html_messenger.class.php on line 542
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $datetime_value follows optional parameter $what in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php on line 1572
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $fieldname follows optional parameter $what in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php on line 1572
[24-Oct-2021 20:19:52 UTC] PHP Deprecated: Required parameter $domain follows optional parameter $i18n_map in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/assets/I18nRegistry.php on line 63
[24-Oct-2021 20:27:55 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 55925488 bytes) in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Log.core.php on line 167

I don’t understand why it works so well on one site and not on this one.
Any thoughts?


Harshad Mane

  • Support Staff

October 25, 2021 at 1:45 am

Hi there,

Thanks for contacting us and sorry to hear about your issue.

It looks like there are memory issues.

Memory problems are cumulative with each plugin and theme contributing to it.

You may decide to change the plugin combinations you are using.

Such types of problems arise because the PHP Memory Limit of your Host is pretty less than what the process requires for performing it’s functions. In such a case you would need to directly increase the PHP Memory Limit if you’ve access to the PHP.ini file.

If you don’t want to mess with the PHP.ini file, then you can go for this method.

In this you won’t be needing to create any extra file in your Directory.

Just Adding following code in your ‘wp-config.php’ file would increase your PHP Memory Limit to 512 MB.

define('WP_MEMORY_LIMIT', '512M');

Please note, this setting may not work if your host does not allow for increasing the PHP memory limit–in that event, contact your host to increase the PHP memory limit. Also, note that many hosts set the PHP limit at 8MB.


ltdan

October 25, 2021 at 8:47 pm

okay I changed the memory limit to 512M and I am still getting stuck:


[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $pan_message follows optional parameter $pan_name in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Error.core.php on line 1159
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $file follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $func follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $line follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainer.php on line 92
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $file follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on li>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $func follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on li>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $line follows optional parameter $dismissible in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notices/NoticesContainerInterface.php on li>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $capabilities_checker follows optional parameter $return_url in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdmi>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $request follows optional parameter $return_url in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManage>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $old_value follows optional parameter $option in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php on line 402
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $value follows optional parameter $option in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php on line 402
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $EVT_ID in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Event.model.php on line 449
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $model_field_factory follows optional parameter $timezone in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Attendee.model.php on line>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $model_field_factory follows optional parameter $timezone in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_WP_User.model.php on line >
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $reg_step follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php >
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $question follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php >
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $answer follows optional parameter $state_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php on>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $reg_step follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.ph>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $registration follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.modul>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $question follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.ph>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $answer follows optional parameter $country_options in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/add_new_state/EED_Add_New_State.module.php >
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $transaction follows optional parameter $class in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php on line 1316
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $ticket follows optional parameter $qty in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_Ticket_Sales_Monitor.module.ph>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $source follows optional parameter $valid_reserved_ticket_line_items in /var/www/html/wp-content/plugins/event-espresso-core-reg/modules/ticket_sales_monitor/EED_T>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $reg_form follows optional parameter $req_data in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_In>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $event follows optional parameter $html in /var/www/html/wp-content/plugins/event-espresso-core-reg/caffeinated/modules/recaptcha_invisible/EED_Recaptcha_Invisible>
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $model_name follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php on line 95
[26-Oct-2021 02:39:21 UTC] PHP Deprecated: Required parameter $allowed_enum_values follows optional parameter $default_value in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/orm/ModelFieldFactory.php >
[26-Oct-2021 02:39:22 UTC] PHP Deprecated: Required parameter $datetime_value follows optional parameter $what in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php on line 1572
[26-Oct-2021 02:39:22 UTC] PHP Deprecated: Required parameter $fieldname follows optional parameter $what in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php on line 1572
[26-Oct-2021 02:39:23 UTC] PHP Warning: Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php on line 1368
[26-Oct-2021 02:39:23 UTC] PHP Deprecated: Required parameter $EE_Config follows optional parameter $settings in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Activation.helper.php on line 370
[26-Oct-2021 02:39:23 UTC] PHP Deprecated: Required parameter $incoming_message_type follows optional parameter $content in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Html_me>
[26-Oct-2021 02:39:23 UTC] PHP Deprecated: Required parameter $domain follows optional parameter $i18n_map in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/services/assets/I18nRegistry.php on line 63
[26-Oct-2021 02:42:19 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653
[26-Oct-2021 02:42:19 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653
[26-Oct-2021 02:42:19 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1653
[26-Oct-2021 02:43:10 UTC] PHP Deprecated: Required parameter $args follows optional parameter $depth in /var/www/html/wp-content/themes/di-blog/inc/core/navwalker.php on line 54
[26-Oct-2021 02:43:10 UTC] PHP Deprecated: Required parameter $output follows optional parameter $depth in /var/www/html/wp-content/themes/di-blog/inc/core/navwalker.php on line 54
[26-Oct-2021 02:43:11 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type espresso_attendees is not registered, so it may not be reliable to check the capability "read_post" against a post of >
[26-Oct-2021 02:43:11 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type espresso_attendees is not registered, so it may not be reliable to check the capability "edit_post" against a post of >


Harshad Mane

  • Support Staff

October 26, 2021 at 1:09 am

Hi there,

Could you please edit wp-config.php file and

Replace

define(‘WP_DEBUG’, false);

with this:

ini_set(‘log_errors’,’On’);

ini_set(‘display_errors’,’Off’);

ini_set(‘error_reporting’, E_ALL );

define(‘WP_DEBUG’, false);

define(‘WP_DEBUG_LOG’, true);

define(‘WP_DEBUG_DISPLAY’, false);

Let us know if making the above changes helps to fix the issue?
Regards,
Harshad


Tony

  • Support Staff

November 4, 2021 at 6:49 am

Hi there,

The deprecated notices you posted above means you are likely running PHP8 on the server, PHP8 has a lot of changes and throws a lot of deprecated notices for code that ‘was’ perfectly valid in PHP7.

I recommend asking your host to switch to PHP7 on your site and working with that currently, many plugins aren’t fully compatible with all of the changes for PHP8 and I know that the DOMPDF library we use to generate PDF’s usually throws a fatal error with it so it may causes you issues.

Viewing 4 reply threads

The support post ‘Event Espresso Crashes Site When Activated’ 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