Skip Navigation

[Resolved] 504 Gateway Time-out when I try to create a new post

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 11 replies, has 2 voices.

Last updated by peterT-11 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#1993475
toolset.png

Hello!

I started to use Toolset, however, I can't seem to be able to create new Posts anymore.

Every time I try to create a new post, I get the following error: "504 Gateway Time-out"

Would you be able to help me out?

Thank you!

#1993507

Hello and thank you for contacting the Toolset support.

This seems to be an error that is not related to Toolset. It's probably something else. Please check if this issue appears when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
- The theme is set to a WordPress default like Twenty Twenty. It will tell us if there is an interaction issue with your theme.
If the problem disappears, start activating one at a time to track where the incompatibility is produced.

If that does not help to find the cause of the issue, I'll need to take a closer look at your website. I might also need to take a copy of the website to debug it locally. Let me know if that's fine with you.
Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#1993581

Hi Jamal,

Quick update.

I deleted and reinstalled/activated Toolset Types via WP, but I still have the same issue. Whenever Toolset Types is activated, the Posts stop working.

Let me know if you have an idea on how to proceed.

Thank you!
-Peter

#1993609

Hello Peter, I encountered an error with editing a post while Toolset Types is activated. I need to activate php debugging in order to check why is that happening. So, I installed the Filster plugin to edit wp-config.php, but it does not appear there.
https://wordpress.org/support/article/debugging-in-wordpress/

I need to activate PHP debugging in order to continue on this ticket. Please allow me FTP access to check it further. Your next reply will be private to let you share FTP credentials safely.

#1993631

FTP stands for File Transport Protocol. Read more about it here hidden link

I need FTP access in order to activate PHP debugging. You can ask your hosting provider for it. Some specialized hosting providers for WordPress offer to activate/deactivate PHP debugging from their dashboard pages.

Otherwise, I can take a copy of your website and work on it locally. Let me know if that's fine with you.

#1993753

Hello Jamal,

I have FTP access information. Would you be able to share with me the private form once again?

Thank you!
-Peter

#1994183

Sure. Your next reply will be private to let you share credentials safely.

#1994237

Thank you, Peter, but these credentials do not take me to the WordPress installation. Check this screenshot for what I get hidden link

Please reach out to your hosting provider and ask them to help you with this. Otherwise, let me know if I can take a copy of your website and analyze it locally.

#1994495

Hi Jamal,

I finally have what you need. Can you send me a private form, so I can provide you with the SFTP credentials from WP?

Thank you for your patience!
-Peter

#1994541

Sure. Your next reply will be private to let you share credentials safely.

#1995095

Thank you Peter for the credentials. I was able to activate debugging. The debug.log file has errors related to memory usage in some core WordPress files and the object-cache plugin:

[21-Mar-2021 11:57:34 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /wordpress/drop-ins/object-cache.php on line 846
[21-Mar-2021 11:57:34 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in /wordpress/core/5.7/wp-includes/class-wp-fatal-error-handler.php on line 229
[21-Mar-2021 11:57:53 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /wordpress/drop-ins/object-cache.php on line 463
[21-Mar-2021 11:57:53 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /wordpress/core/5.7/wp-includes/plugin.php on line 1371
[21-Mar-2021 11:58:46 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /wordpress/core/5.7/wp-includes/class-wp-hook.php on line 285
[21-Mar-2021 11:58:46 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 258048 bytes) in /wordpress/drop-ins/object-cache.php on line 323

I am afraid, we can't analyze these errors without the help of the plugin's authors. In fact, I can't open the object-cache.php plugin for edit. hidden link

Please reach to your hosting provider and ask for help or collaboration to find out what's causing this issue. I am pretty sure, that if we migrate your site to our online platform, this error will not arise. Let me know if we can migrate your site to our platform for further testing?

#1995155

My issue is resolved now. Thank you!