Support

Home Forums Event Espresso Premium Error after activating BUG-8698 branch

Error after activating BUG-8698 branch

Posted: January 18, 2016 at 1:33 pm

Viewing 4 reply threads


Hideout Theatre

January 18, 2016 at 1:33 pm

(Please let me know if I am supposed to post problems with branches somewhere else)

I downloaded and installed the latest version of this branch:
https://github.com/eventespresso/event-espresso-core/tree/BUG-8698-ticket-sellouts

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?


Hideout Theatre

January 18, 2016 at 1:34 pm

Or is installing the zip of the branch not what I’m supposed to do? Does the latest stable version of a given branch live somewhere else?


Josh

  • Support Staff

January 18, 2016 at 1:50 pm

Hi there,

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.


Hideout Theatre

January 18, 2016 at 2:06 pm

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.


Josh

  • Support Staff

January 18, 2016 at 6:47 pm

No worries.

Viewing 4 reply threads

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.

Event Espresso