Support

Home Forums Event Espresso Premium App Crashing

App Crashing

Posted: March 19, 2018 at 6:57 pm


Lifehouse

March 19, 2018 at 6:57 pm

Hi there,

I have downloaded the app and tried loggin in, but after logging in, it shows the logged in view for a split second before crashing.

using Event Espresso – 4.9.58.p

Please help me


Josh

  • Support Staff

March 19, 2018 at 9:04 pm

Hi there,

May I ask which app version and what is the device OS & version number?


Lifehouse

March 19, 2018 at 10:22 pm

Hi Josh,

App is Event Espresso 4

Device is Iphone 7, iOS is 11.1.1


Josh

  • Support Staff

March 19, 2018 at 10:28 pm

Thanks for those details.

The first thing to do is rule out a plugin conflict. If you deactivate all plugins except for Event Espresso, does the app still crash after you log in?


Lifehouse

March 19, 2018 at 11:32 pm

Thanks for the reply.

Deactivated them all, and the found that after activating WPML it starts crashing. what next?

As fyi: I was told before purchase WPML doesn’t conflict with Event Espresso, it just doesn’t allow you to run event espresso bilingual. So I’m building bilingual site and then having one language for booking/ticketing.


Josh

  • Support Staff

March 20, 2018 at 6:49 am

This may not necessarily be a plugin conflict. For example it could be that your server is running low on memory and deactivating WPML frees up enough memory to allow your site to connect to the app.

You can activate WP_DEBUG and log errors by following the instructions here:
https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

After WP_DEBUG is activated, you can try connecting with the app with all the plugins activated, then check the site’s wp-content/debug.log file for any fatal errors.


Lifehouse

March 22, 2018 at 8:01 pm

Hi, thanks for the reply. I’ve checked the monitoring of our server and it shows our resources never got that low, so I don’t think it’s a server issue.

I’ve done what you suggested for the debugging with the error log, I’m not very good with backend stuff, but this is what is in the error log file:

[23-Mar-2018 01:50:44 UTC] PHP Notice: Trying to get property of non-object in /home/155976.cloudwaysapps.com/rjghdfpjbq/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 132
[23-Mar-2018 01:50:51 UTC] PHP Notice: Trying to get property of non-object in /home/155976.cloudwaysapps.com/rjghdfpjbq/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 132

Please let me know the next thing to check or if you can login and have a troubleshoot yourself.


Josh

  • Support Staff

March 22, 2018 at 8:09 pm

The PHP notices from the Revolution Slider are benign. If the server isn’t running low on RAM, then that’s a strong indication that there is indeed a conflict from the WPML plugin. You could check with WPML support and see if there’s a way to disable any REST API-related functionality from WPML. If that can be done that may avoid the issue.


Lifehouse

March 23, 2018 at 2:21 am

Hi Josh,

In presales questions I directly asked if there was any conflict and was told there wasn’t – in which case I would expect you to find the solution.

This would of impacted our decision to buy or not buy this product, so if you could be of more help it would be greatly appreciated.


Josh

  • Support Staff

March 23, 2018 at 11:58 am

I’m surprised they explicitly said there were no conflicts because, try as we might, we cannot possibly test every feature against every plugin in order to guarantee 100% compatibility with specific plugins.

In any case, one way to avoid the breakage caused by WPML would be to disable it if the user agent is one of the mobile apps. The following code can be put into a file within your site’s wp-content/mu-plugins/ folder:

https://gist.github.com/joshfeck/f9c69872a9d4514085e3de8f55c3461f

For what it’s worth, you may see other issues crop up with WPML activated on the site. For example when I looked into this I sent some WordPress REST API requests that have nothing to do with Event Espresso data, and got the same errors as I did with the Event Espresso-related requests.

You might consider one of the excellent alternatives like Polylang or TranslatePress.


Lifehouse

March 27, 2018 at 12:15 am

Hi Josh thanks for the reply,

They did explicitly say there wasn’t a conflict, but just couldn’t be used for bilingual sign up/registration/managment.

Thanks for the information. Will check out that and hopefully work out


Josh

  • Support Staff

March 27, 2018 at 7:40 am

They were not aware of the conflict then.


Lifehouse

April 3, 2018 at 6:19 am

Hi Josh,

Just wanted to let you know it worked and all is working.

Thank you for your support

The support post ‘App Crashing’ 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  Lifehouse 6 months, 2 weeks ago ago

Topic Tags

Tagged: 

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!