Hello,
I've been running wpforo on my wordpress website for over 6 months now; however I've noticed that one particular thread created within my forums often generates a 504 Gateway Timeout error.
Here is the thread.
I've noticed that the Gateway Timeout occurs primarily on attempting to access a specific post/page on the thread; the thread's main page loads normally although slower than usual.
Any idea what may be causing this?
Thank you.
Hi SeanBe793,
Do you have URL redirection plugins or some Optimizer plugin? Please disable those and test it again. Also please delete website cache and wpForo cache in Dashboard > Forums > Dashboard admin page.
Just enable WP Debug to a LOG and check for fatal or other errors.
The 504 Gateway Timeout error is an HTTP status code that means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.
In other words, 504 errors usually indicate that a different computer, one that the website you're getting the 504 message on doesn't control but relies on, isn't communicating with it quickly enough.
Thanks Massimo. The sit's live though; believe WP Debug has to be done locally?
Not very tech-savvy so I'd appreciate you holding my hand. Thanks.
No problem with a live site as long as the DEBUG is written to a LOG and not displayed to the browser.
https://codex.wordpress.org/Debugging_in_WordPress
Not sure what you mean locally. Just follow the above and add 3 lines for debug:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Most probably this is a server problem not configured correctly.