Support

Home Forums Event Espresso Premium Undefined Variable Error

Undefined Variable Error

Posted: February 27, 2018 at 9:32 am


climbnovascotia

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 6 years, 1 month ago by  Josh. Reason: removed server directory paths


climbnovascotia

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.


Josh

  • 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.


Josh

  • 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.

Event Espresso