Support

Home Forums Event Espresso Premium Stuck in Maintenance Mode

Stuck in Maintenance Mode

Posted: December 22, 2016 at 3:19 pm

Viewing 8 reply threads


Michael King

December 22, 2016 at 3:19 pm

Yesterday I was able to move out and back into Maintenance Mode. After installing the Braintree gateway today, I can no longer take the site out of Maint. Mode.

I can go to the Maintenance page & click the radio button for “Maintenance Mode OFF” and the Update… button, the wheels go round as expected, then the radio button pops back to “Maint. Mode ON” and the warning banner at the top is redrawn.

I don’t see any warnings, or other indicators of what to do next to get out of this. Tried logging out of the back end and back in – no change. I’m out of ideas now – isn’t going to be too useful like this.

I see some other posts about a similar problem, but the fix always seems to be something about migrating data. I don’t see any warnings about migration, although I did just upgrade from 4.9.<something> to 4.9.<whatever is newest>

This is surely the most complex plugin I have, and when it works, it works great, but I continue to feel like I have more than my share of issues.


Josh

  • Support Staff

December 22, 2016 at 4:30 pm

So does the maintenance mode problem go away if the Braintree add-on isn’t activated?


Michael King

December 22, 2016 at 6:16 pm

Good question, I didn’t think to try that. But, nope.

I turned PayPal back on and Braintree off, back to Maintenance page, set M-Mode to OFF, click update and watched it flip back to ON.


Josh

  • Support Staff

December 22, 2016 at 6:32 pm

Can you try deactivating Event Espresso and its add-ons. Then reactivate Event Espresso only, then set Maintenance Mode to off?

If that does not work, then you can go into phpmyadmin via your host’s control panel, go to the wp_options table and run a search for the option that has the option_name ee_maintenance_mode. You can delete that option.


Michael King

December 23, 2016 at 11:27 am

Deactivated EE4 (which I guess takes all the add-ons with it); reactivated…M-Mode off, UPDATE….nope, blinked right back to ON.

Really? Really??? Do I just do something to attract problems? or does everyone have this many problems.

So I’m not going to do some potentially-take-down-the-whole-site maneuver with databases right before a big holiday. I’ll deal with ‘Plan B’ next week.

Happy holidays!


Josh

  • Support Staff

December 23, 2016 at 12:46 pm

I suspect that when you’re saving that maintenance mode page, something on your WordPress installation is preventing the ee_maintenance_mode option from being updated. So you could at least check the option, and you can even try changing the 1 value to 0, right there in phpmyadmin.

Deleting the ee_maintenance_mode option in the database does not have the potential to take the whole site down. If you want to be extra careful though, you can make a backup of the database.


Michael King

December 23, 2016 at 5:38 pm

I’m sure you are correct about the option not bringing down my whole site – it’s the fat-fingered operator that worries me. Never had to monkey under the hood like that before.

But again, after the holiday we’ll see about that. I’ll probably port the whole site into my local Desktopserver environment to see experiment. List of active plugins is in an earlier post in this thread – if you have any likely suspects, let me know.


Josh

  • Support Staff

December 27, 2016 at 9:21 am

Great idea to port the site onto a local server.


Michael King

January 9, 2017 at 12:15 am

To follow up on this…

  • No simple fix I could think of on the production site would unstick Maint. Mode
  • I imported a slightly older backup – from just before installing Braintree – into my local MBA and loaded that into Desktop server
  • Installed some updates and the Braintree plugin onto the local version in (I think) a different order than I did on the live site
  • Maint Mode would turn on and off nicely
  • Recreated the new event and did some other edits
  • Backed up the local version and ftp’ed that to the production server and loaded that
  • Maint Mode now turns off and on as expected, and Braintree payments work brilliantly

I still don’t know what went wrong, but it’s not broke any longer. I have the feeling that this was a glitch, hiccup, or other transient problem, so let’s call this one RESOLVED and move on – I’ve got tickets to sell.

Viewing 8 reply threads

The support post ‘Stuck in Maintenance Mode’ 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