Support

Home Forums Event Espresso Premium PHP Errors after updating from 5.0.10.p to 5.0.18.p

PHP Errors after updating from 5.0.10.p to 5.0.18.p

Posted: March 15, 2024 at 12:00 pm


touchbacksafety

March 15, 2024 at 12:00 pm

Hello Event Espresso Support,
https://www.touchbacksafety.com/test-calendar/

There are errors being generated when I update Event Espresso from Version 5.0.10.p to Version 5.0.18.p
https://app.screencast.com/YyqxhnR5HDAzn?conversation=gbCiKiCbBji8yIIflFU6KC

I reverted to a backup with version 5.0.10.p to clear the errors.

Several Event Espresso plugins are active.
– Event Espresso
– Event Espresso – Calendar (EE 4.3+), Version 3.2.16.p
– Event Espresso – Recurring Events Manager (EE 4.9+), Version 1.0.0.beta.002
– Event Espresso – Stripe Gateway (EE 4.6.0+), Version 1.1.12.p
https://app.screencast.com/scFEqD2ak3VQZ?conversation=9Et0V7RH7UrGR066hdsfcA

[x] I tested for plugin and theme conflicts.
The errors were being generated with a default theme (Twenty Twenty-FourVersion: 1.0) and with only Event Espresso plugins enabled. https://app.screencast.com/kvIs8WdV6EEWS

In the errors I am seeing references to our preview URL, touchbacksafety.sg1.wp.websites.ca.

`
**Warning**: array_shift() expects parameter 1 to be array, null given in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php** on line **605**

**Warning**: Cannot modify header information – headers already sent by (output started at /home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php:605) in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-admin/includes/misc.php** on line **1431**
`

`
**Warning**: array_merge(): Expected parameter 1 to be an array, object given in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/eea-recurring-events-manager-pr/domain/RecurringEventsManager.php** on line **119**

**Warning**: session_start(): Cannot start session when headers already sent in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php** on line **65**

**Warning**: Cannot modify header information – headers already sent by (output started at /home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/eea-recurring-events-manager-pr/domain/RecurringEventsManager.php:119) in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-admin/includes/misc.php** on line **1431**

`

On the front end:
`
**Warning**: array_merge(): Expected parameter 1 to be an array, object given in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/eea-recurring-events-manager-pr/domain/RecurringEventsManager.php** on line **119**

**Warning**: session_start(): Cannot start session when headers already sent in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php** on line **65**

**Warning**: Cannot modify header information – headers already sent by (output started at /home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/plugins/eea-recurring-events-manager-pr/domain/RecurringEventsManager.php:119) in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-content/themes/Divi-Child-0.6/functions.php** on line **108**
`


Rio

  • Support Staff

March 24, 2024 at 11:57 pm

Can you tell us your PHP version? and your WP version?

Can you also update your plugin to latest version and see if you have any error.

EE 5.0.19p should be available.

thanks
thanks


touchbacksafety

March 26, 2024 at 12:39 pm

PHP 7.4.33
WordPress 6.4.3

When I update to EE 5.0.19p there are PHP errors.
https://app.screencast.com/VhJO6QsjpEPFG


Tony

  • Support Staff

March 26, 2024 at 1:03 pm

Hi there,

So out of those messages, the 2 that I can currently investigate are:


**Warning**: array_shift() expects parameter 1 to be array, null given in **/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php** on line **605**

**Warning**: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/data_class/EE_Messages_Preview_incoming_data.class.php:605) in **/home/customer/www/touchbacksafety.sg1.wp.websites.ca/public_html/wp-admin/includes/misc.php** on line **1431**

Those could be an issue within the message system, or they could be caused by the next issue:

**Warning**: array_merge(): Expected parameter 1 to be an array, object given in **/public_html/wp-content/plugins/eea-recurring-events-manager-pr/domain/RecurringEventsManager.php** on line **119**

The important part in that is eea-recurring-events-manager-pr, the -pr means the site is using the pre-release version of the Recurring events manager add-on. Please deactivate and delete that version and download the latest release version from your account page to install in place of it.

Go to your accounts page HERE and look for Recurring Events Manager v1.0.0.p

The other issues you mentioned in the admin are from the same issue. The PR version of the add-on is throwing a notice and then the other 2 warnings above “headers already sent” are happening because there is an error being thrown on the page an being output to the browser before a session is started.

The support post ‘PHP Errors after updating from 5.0.10.p to 5.0.18.p’ 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