Home Forums Translations Multiple Event Registration Addon: session_start() Gives Fatal Error

Multiple Event Registration Addon: session_start() Gives Fatal Error

Posted: December 19, 2013 at 3:14 pm

Kobayashi Online Toronto

December 19, 2013 at 3:14 pm

Hi there,

Congratulations for the great plugin and all its addons.

There is a line of code in the Multiple Event Registration addon that is conflicting with the Jigoshop plugin (but this doesn’t mean is because of the Jigoshop plugin since the fatal error can happen with other plugins as well).

If you open the “espresso-multi-registration.php” file, under the /plugins/espresso-multiple/ folder, around line 70 you have a line of code with “session_start();”.

We suggest you remove that line and replace it for this piece of code so the user session only starts once:


function session_init() {
if (!session_id()) {
} //close if (!session_id())
} //close session_init()

add_action(‘init’, ‘session_init’);


If that line is not modified, a website with the Multiple Event Registration add-on for Event Espresso and Jigoshop installed (and with both plugins activated) will give a fatal error after a product is added to the shopping cart.

Also, changing that line will avoid website administrators having to change the “session_start();” line manually every time there is a plugin upgrade.

You can read more about the Jigoshop developers suggestions on it here:

Since we usually install Event Espresso and Jigoshop on client websites, we would like to know if you would be ok making this change on the next upgrade of the Multiple Event Registration add-on so we avoid the issue in the future.

Thanks for your help.

Kobayashi Online


December 20, 2013 at 4:05 am


Thanks for the feedback, I will certainly raise this with the developers asking if it or something similar can be included in future releases, however I cannot make any guarantees about if or when it would get added.

Kobayashi Online Toronto

December 20, 2013 at 9:30 am

Thanks Dean. Would you be able to give us an update or update this forum post when the developers take a decision on it?

Thanks very much.


December 22, 2013 at 10:31 pm


I’ll add a note to the ticket to update this thread once completed

The support post ‘Multiple Event Registration Addon: session_start() Gives Fatal Error’ 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.

Status: closed

Updated by  Dean 7 years, 1 month ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!