Support

Home Forums Event Espresso Premium EE3 and PHP7.2

EE3 and PHP7.2

Posted: April 19, 2019 at 12:54 pm

Viewing 4 reply threads


lhammond

April 19, 2019 at 12:54 pm

I just upgraded to PHP 7.2 (EE v3.1.36.6.P and WP version 4.9.9 ) and made the changes to espresso-multiple suggested here, but am still getting the spinning circle on the ajax call rather than the View Cart button.

I have W3TotalCache set up, with Page caching using memcached on AWS, but all of my event pages are set to not cache. I tried switching Page Caching to Disk:Enhanced, but still have the same problem. I also tried disabling page caching with no luck.

Were you saying that disabling opcache or memcached needs to happen at the server level in the PHP config?

We do have some customized templates in uploads that I can check for compatibility, but they seem to be displaying fine – just the Add to Cart button that is failing.

What am I missing? How can I get this to work?


Josh

  • Support Staff

April 19, 2019 at 1:20 pm

Hi,

You’ll need the current version of Event Espresso 3 which is 3.1.37.14.P.

In other words, 3.1.36.6.P (released in 2014) is not compatible with PHP 7.2 (released in 2017).

Since EE4 licenses does not include downloads for EE3, you can get the current version of EE3 from GitHub:

https://github.com/eventespresso/event-espresso-legacy/archive/master.zip

After you’ve updated to 3.1.37.14.P, you’ll also need to update your custom templates so they’re compatible with 3.1.17 and PHP 7.


lhammond

April 20, 2019 at 8:24 am

Thanks for the quick reply! I did upgrade to 3.1.37 and merged in the changes I had made for our specific needs. But I’m still getting the problem. Could this be related to our PHP config on AWS? Or something in our W3TC settings?

I will double check my custom templates to see if there is something else there that needs to be updated.


lhammond

April 21, 2019 at 10:49 am

I tried again later, and now I think there may have been a cache problem in AWS CloudFront somehow – maybe it wasn’t pulling the right JS files or something. It appears to be working now with EE 3.1.37 and PHP7.2. Hooray!

I do still want to hear about your recommendations for W3TC settings when using AWS CDN. Thanks!


Josh

  • Support Staff

April 22, 2019 at 4:59 pm

We actually do not have recommendations for W3TC plugin settings, because we do not recommend to use that plugin. The one caching plugin we do recommend is WP Super Cache.

Viewing 4 reply threads

The support post ‘EE3 and PHP7.2’ 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