After I activate it, I get the following error in the dashboard, and if I try to load any event pages on my site:
call_user_func_array() expects parameter 1 to be a valid callback, function ‘espresso_set_session_lifespan’ not found or invalid function name in /home/ubuntu/workspace/wp-includes/plugin.php on line 213
Did I install my zip incorrectly or is there a bug in the 8698 branch?
It turns out the errors you are seeing are the result of calling a function named “espresso_set_session_lifespan” via a hook somewhere, likely in a theme’s functions.php file or in another plugin. Did you or a developer on your team happen to copy this code from our snippet library somewhere to your site earlier? I double checked and Event Espresso 4 (in any branch) does not call a espresso_set_session_lifespan() function.
That is exactly what happened. I apologize for the stupid question. I should have checked my site’s custom functions file. Thank you for the quick response.
The support post ‘Error after activating BUG-8698 branch’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.