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()) {
session_start();
} //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.
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 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.
I’ll add a note to the ticket to update this thread once completed
Viewing 3 reply threads
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.