Home Forums Event Espresso Premium Undefined Variable Error

Undefined Variable Error

Posted: February 27, 2018 at 9:32 am


February 27, 2018 at 9:32 am

I’ve recently had to move a WP site to a different host and I’m not receiving the following error on my page that displays all active events.

Notice: Undefined variable: end in **/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 694

I’m trying to figure out if this something related to EE or the server (looks like the new server is using PHP 5.6.30 and EE needs 5.6.32)

  • This topic was modified 1 year ago by  Josh. Reason: removed server directory paths


February 27, 2018 at 9:45 am

Looks like this might have to do with our theme and not EE.

I’d delete this if I could but I guess I’ll leave it here just in case.


  • Support Staff

February 27, 2018 at 9:59 am

Hi there,

Event Espresso 4 actually will run just fine on 5.6.30, but it’s advised to upgrade to the current version of PHP 5.6 so your server has all of the latest security patches. I’ve removed the part of your post that included the path to your server.


  • Support Staff

February 27, 2018 at 10:01 am

In addition to the above, you should contact your host and ask them to set display_errors to false. Some web hosts will turn that on be default, but error reporting should be turned off for production sites.

The support post ‘Undefined Variable 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 1 year ago ago

Topic Tags


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