Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Multiple Event Registration Addon: session_start() Gives Fatal Error | Event Espresso - Staging Server
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.
Post any questions about the language files, translating Event Espresso, or issues with our GlotPress site for translations here.