AI Search
Classic Search
Notifications
Clear all
Search result for: 504 Gateway Time-out - The server didn't respond in time
My forum is behind a paywall, using Membermouse, so you won't be able to look at it, but I was getting help from Membermouse and They ran a diagnostic to see if They could find The origin of some random 504 errors I was getting while testing my forum set up (they aren't fatal, They just need a refresh), and he found this instead:
12-03-2022 18:47:18 (likely GMT -0700)Uncaught Error: Call to a member function get_option_items_per_page() on null in /home4/debfillm/public_html/thereasonwelearn/wp-content/plugins/wpforo/wpforo.php:796Stack trace:#0 /home4/debfi ...
Dear @sofy
it still does not work. i used The short code with elementor short codes as well as dircetly inserted when The page is created but it still does not work. if it is a problem with short code, community slug should work atleast. but it does not work as well. i used to work fine for few hourst but it suddenly stoped, i deactive all The plugins and keep elementor and wp foro only it yet still The problem exist.
here are my server details
erver architecture
Linux 4.18.0-513.24.1.lve.el8.x86_64 x86_64
Web server
Apache
PHP version
7.4.33 (Supports 64bit values)
PHP SAPI
litespeed
PHP max input variables
1000
PHP time limit
30
PHP memory limit
128M
PHP memory limit (only for admin screens)
256M
Max input time -1
Upload max filesize
32M
PHP post max size
32M
cURL version
7.87.0 OpenSSL/1.1.1w
Is SUHOSIN installed?
No
Is The Imagick library available?
Yes
Are pretty permalinks supported?
Yes
.htaccess rules
Custom rules have been added to your .htaccess file.
Current time
2024-06-14T03:05:01+00:00
Current UTC time
Friday, 14-Jun-24 03:05:01 UTC
Current server time
2024-06-14T03:04:57+00:00
Kindly help me with this. im also planning to buy some wpforo addons to improve The user experince. but if it is keep crashing i dont think it would be a good idea.
@lrxcywq,
This is probably caching / optimizer / minifier plugin conflict. If you have a cache plugin, please exclude The forum page from your cache plugin, Then delete all kind of caches, go to forum front-end and press Ctrl+F5 to reset browser cache. Here is The topic to help you exclude The forum page:
Press F12 before doing all that and check your browser console for errors.
Hi @dronebot-workshop,
wpForo Usergroups and Forum Access system is very rich. Please follow These steps:
I think this question is not related to wpForo, because wpForo doesn't share any information. If you enabled some 3rd party services you can add those information in your Privacy Policy in Dashboard > Forums > Tools > Privacy & Rule admin page. wpForo has all necessary tools to kep it GDPR friendly. More info in doc:
I had registered some personal data in an organization. I was totally shocked when I found my data were accessed from another organization type . So what I do and how can I protect it.
@maxelio42 and @anonymous20
When you submit The post wpForo calls wp_mail() function for all subscribers, There is no any delay in wpForo core, The whole delay come from wp_mail(). So when you click on submit button you have to wait wp_mail() function. Submitted form and The page cannot be refreshed until all emails are not sent via wp_mail() function. This is The 90 sec delay point.
wp_mail() delay based on hosting email server and on other plugins which hook this function and do something with email sending processes. The problem fixing points is one:
1. Don't call wp_mail() function for all subscribers when post is submitted. Call it partial using cron-job or some other solution.
If you could find other solutions please post it here.
Thank you!
That make some sense, but even so it is a hosting problem. A slow "way" to send emails. Smtp sends directly The emails or routes Them to a mail server ?
Hi @helloman ,
Thank you for your kind words and detailed suggestions!
Regarding exact time scheduling, The AI Task scheduling actually already offers more granularity than daily. You can set The frequency to every 1 hour, every 3 hours, or every 6 hours in addition to daily, so you can spread topic generation throughout The day.
However, specifying an exact clock time (e.g., "run at 9:00 AM") is not feasible due to how WordPress works internally. WordPress core does not provide a real-time cron system, WP-Cron is triggered by site visits, meaning scheduled tasks only execute when someone visits your site, which makes precise timing inherently unreliable. On top of that, There are multiple timezone layers involved: The WordPress site timezone, each user's profile timezone, and The server's own timezone, These can all differ and introduce inaccuracies in when tasks actually fire.
Even with a server-level cron job triggering WP-Cron, The execution depends on server load and queue processing, so guaranteeing an exact time like "9:00 AM" is not something WordPress can reliably promise. That said, using The 1-hour interval effectively achieves a natural posting rhythm throughout The day, which is close to what you're looking for.
Regarding anonymous user IP addresses, wpForo includes comprehensive spam and flood protection in Settings > Spam Protection admin page. The Flood Protection system tracks posting velocity per user and optionally per IP address, you can enable "IP-based Flood Protection" and set a maximum number of posts per IP per hour. When limits are exceeded, wpForo can block The post, unapprove it, or temporarily ban The user for a configurable duration (1 minute to 1 day).
Additionally, There are new-user restrictions like limiting post count, requiring moderation approval, and restricting attachments and links until users reach a minimum post threshold. However, wpForo does not currently store or display The IP address of individual post authors in The admin area, this is a good suggestion that we'll consider for a future update.
This 99% of The time is a hosting problem. Usually a slow server or database, a dns problem and many others all related to hosting.
Sometimes it is plugin problem.
What do your hosting company says? There is a lot of information about Wordpress and that error on The net.
502 bad Gateway error when clicking on topics.
I had many of These during development and testing of few sites at The same time. in my case it was a simple router problem since I was connected via NAT protocol.
A reboot of The modem/router and sometimes disconnect/connect The ADSL line solve The problem for few days until The next boot.
Clearing browser cache helps too.
First time when I called for support [bluehost] They found nothing wrong at Their end and They gave that modem/router solution.
Still a very heavy load on my server after this upgrade. I thought by now it would have calmed down quite a bit. The 15min load number on The far right in The attachment should be under 1. I may have to revert back myself if this continues.
< span style="color: #666;"> Attachment : 2022-11-10-08_25_24-WHM-server-106.0.9.png
Due to limitation on disk space and bandwidth of The server that my wordpress and wpforo is hosting on, I'm wondering is it possible for any attachments, e.g. images and videos, to be uploaded to another server?
Thank you for any advise.