Pro update from 2.2.5 to 2.3.8 is failing, cannot reach settings page

WP 4.9.8
All plugins up to date
No cache plugin in use
Prior to upgrade could only reach validations page under Pro menu item, everything else is internal server error

My site is up but for attempts to upgrade, which seem to go on forever but never complete, resulting in a page stating “Briefly unavailable for scheduled maintenance. Check back in a minute.”

Header notice across admin pages states “An automated WordPress update has failed to complete - please attempt the update again now.” Clicking that link does nothing.

Security plugins include Loginizer and Wordfence.

Halp!

Hey @JMac,

​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

domain and user credential added to secure note

The site eventually came back so I’m trying to troubleshoot some things based on the troubleshooting section of the support guide. I tried to make an edit and changes could not be saved and the site locked up and now site is showing 500 internal server error

Also checking status of my host provider but I’m getting gateway timeouts trying to Pro changes - something is really not right here.

Anyone home?

Hey JMac,

You can login through FTP then edit the wp-config.php file and find the line: define( 'WP_DEBUG', false );. Set it to true then save the file. Log back in the admin area and you should be able to see some more error information when you redo the steps you are having issues with.

If you are getting an error message that suggests: Fatal error: Allowed memory size of xxxxx bytes exhausted, it means that you need to have the PHP memory limit of your site increased.

To do this, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

In case the issue persists, please try to get in touch with your hosting provider and confirm to them that your PHP memory limit is increased.

If you are still having an issue, please provide us with the FTP details as well so that we can check further.

Hope this helps.

I replied with a user account so someone can login (which seemed like a terribly bad idea). I am going to delete that account if someone who can help won’t login to debug. Please advise ASAP.

I modified my debug to true and now for some magic reason I can get to pro > settings.

I cleared the style cache (something I could not do previously) and I’m attempting to see what else might be weird/wrong.

I will attempt to update the theme to latest and see if debug helps me find out what’s going on.

Theme updated failed - Gateway Timeout

browser console shows:
WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403

I am using a VPN - attempting to verify if there is something up with that web socket that’s failing. no other plugin appears to be causing the issue.

Version 70.0.3538.110 (Official Build) (64-bit)

Hi JMac,

I am seeing your PRO version as 2.2.5 did you restore it? Please update to the latest version

Updating Your Themes and Plugins

Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

If you still encounter the issue, please increase PHP Maximum Execution Time and Increase the PHP Memory Limit.

If that does not work, please provide us the site URL and login credentials (wp-admin and FTP) in a Secure note so we can take a closer look.

And please do not bump your thread, because it will automatically get back in the queue.

Thanks,

Are you reading this thread or just commenting for fun?

  • I have been attempting to upgrade but cannot - it times out (either 500 internal server or 504 gateway timeout)
  • I added debug: true to wp-config.php (suddenly I can reach pro > settings !??!)
  • I provided a login (no sign of anyone using it)
  • I am attempting the upgrade again (no debug output)
  • found some jetpack ‘newest-note’data’ error (found this: https://wordpress.org/support/topic/403-forbiden-public-api-wordpress-com-pinghub-wpcom-me-newest-note-data/ but not helpful)
  • my site is now down (again) with “Briefly unavailable for scheduled maintenance. Check back in a minute.”

I’m going to arbitrarily try the memory limit increase (I’m aware that shitty host providers on shared resources can be a bottleneck) but this hasn’t been the case recently/previously.

Wish me luck and please read this entire thread.

Found a new error I missed earlier

(see secure note)

The browser loading spinner stops and it appears to be game over.

Also, I updated wp-config to use

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

… but no debug and no luck.

Browser refresh at this point has me stuck in ‘scheduled maintenance’ (triggered by the theme update I started but failed to finish). I have to wait a few minutes before it will come back to life.

This seems relevant: https://theme.co/apex/forum/t/pro-editor-wont-load/29841/17

Those memory settings are pretty dang high - what changed that this much memory is required to run this theme?

Attempted to disconnect jetpack from site but that also failed (indicated an error in the JSON) and it has that websocket error reported earlier in my thread. I ended up removing it from the plugins page and that seems to have worked.

I had a few security plugins in place due to some past issues - they have all been deactivated.

no cache plugins in use.

I cleared the style caching in the theme.

??!?!?

Web socket errors no longer happening, getting this error (same/similar as reported in the pro forum link I posted above):

see secure note

Went here: https://wordpress.org/support/topic/question-273/

Found this: https://stackoverflow.com/questions/29894154/chrome-neterr-incomplete-chunked-encoding-error

I have an endpoint security solution that I am running - I am now checking that to see if there is any correlation - this is crazy. :frowning:

Checked - no indication of anything happening or that it is blocking something.

no update from support in an hour - I’m backing up my entire website using ftp.

this experience has not been pleasant.

I’ve disabled any/all possible site plugins that could cause any type of interruption/caching/security restrictions. I have applied wp-config updates as instructed (trying a few alternative suggestions from other wp and php sites). I have cleared full browser history/cache. I have disabled all of my local/machine security precautions and it’s the same net err.

I cannot upgrade your product. I have received inconsistent and fragmented help suggestions from the staff.

Not happy with the support provided.

Currently searching for alternative solution to using this theme - which will be painful - however anything is better than current status.