-
AuthorPosts
-
June 13, 2019 at 5:57 am #1109710
I am getting 5xx internal server errors with some regularity in spite of my site being rather small, not heavy on images, no commerce, etc. It is mostly just text. My host is saying that I keep hitting memory limits of the shared server (which should not be an issue due to the size, very low traffic bc only a local business, not image heavy, etc.).
They suggested that I check with y’all because your latest update happened before the latest version of WordPress was released. I doubt this is it bc this was happening before the WP update. . . but in good faith I figured I should at least ask, and see if y’all have any other ideas.
website is https://gatehealing.com/
Thanks a bunch.
JonJune 13, 2019 at 7:31 pm #1110010Hey gatehealing,
Can you please show us the errors from the server log?
Best regards,
VictoriaJune 13, 2019 at 7:43 pm #1110027I’ll go looking for it now.
Thanks!
JonJune 13, 2019 at 7:56 pm #1110041Is this what you are talking about? Marking this as private in case there is sensitive information in this document.
- This reply was modified 5 years, 5 months ago by Victoria.
June 14, 2019 at 6:00 pm #1110399Hi gatehealing,
There are no 500 errors here and there are no errors pertaining to Enfold, only the warning.
You might want to hire someone to look into this for you.
Best regards,
VictoriaJune 14, 2019 at 7:07 pm #1110429Thanks! I can ask my host to track down the 5xx errors for me. Do you want me to have them do that then show you those in case there is something related to the theme (which I doubt)?
June 14, 2019 at 8:35 pm #1110484Hi gatehealing,
If there are 500 errors that Enfold causes we need to have a look at those and see how we can help you with those.
Best regards,
VictoriaJune 14, 2019 at 10:04 pm #1110511I’ll try to find where the 5xx errors are listed. I’m not sure how I’d recognize if they are related to Enfold or not . .. .but I’m pretty sure this isn’t an Enfold issue, I was just checking in good faith so I can go back to my host and get them to track down the issue
June 16, 2019 at 6:16 pm #1110843Hi gatehealing,
Ok, let us know when any 500 error comes up and copy the error text here, please.
Best regards,
VictoriaJune 25, 2019 at 6:52 pm #1113339Hi y’all. Here are most recent errors per my host. These are not 5xx errors, but dream host is saying these can contribute to 5xx. I am pasting their exact email below:
I do see multiple errors regarding the theme,
[Sun Jun 23 18:12:52 2019] [warn] [client 31.184.238.192] mod_fcgid:
stderr: PHP Warning: Invalid argument supplied for foreach() in
/home/jonand58/gatehealing.com/wp-content/themes/enfold/includes/helper-assets.php
on line 330
[Sun Jun 23 18:12:54 2019] [warn] [client 31.184.238.192] mod_fcgid:
stderr: PHP Warning: Invalid argument supplied for foreach() in
/home/jonand58/gatehealing.com/wp-content/themes/enfold/includes/helper-assets.php
on line 330
[Sun Jun 23 18:12:56 2019] [warn] [client 31.184.238.192] mod_fcgid:
stderr: PHP Warning: Invalid argument supplied for foreach() in
/home/jonand58/gatehealing.com/wp-content/themes/enfold/includes/helper-assets.php
on line 330
[Sun Jun 23 18:12:58 2019] [warn] [client 31.184.238.192] mod_fcgid:
stderr: PHP Warning: Invalid argument supplied for foreach() in
/home/jonand58/gatehealing.com/wp-content/themes/enfold/includes/helper-assets.php
on line 330June 26, 2019 at 2:44 am #1113424Hi, I’m also having issues… tried to update Enfold and it broke the website. Here’s the error I got:
Warning: require_once(config-layerslider/config.php): failed to open stream: No such file or directory in /home/content/a2pewpnas01_data01/10/4059110/html/wp-content/themes/enfold/functions.php on line 39Fatal error: require_once(): Failed opening required ‘config-layerslider/config.php’ (include_path=’.:/usr/local/php5_6/lib/php’) in /home/content/a2pewpnas01_data01/10/4059110/html/wp-content/themes/enfold/functions.php on line 39
I’m having the host revert my website back to before the Enfold update, but would like to have the current version when it won’t break the site!
June 27, 2019 at 6:25 am #1113801Hi,
@gatehealing: Those are warnings related to the script registration for the video assets, which checks if the media element script is required or not. They are just warnings, nothing critical, so I don’t think they can contribute to the 5** errors. Is the site on a shared hosting? You might want to consider upgrading your hosting plan.Best regards,
IsmaelJune 27, 2019 at 5:02 pm #1114022I’ll let my host know about that. I am on a shared host, but since my site is so small (very few images/vids, mostly all text, local business with extremely low traffic, etc.) I should not be getting any of these memory kills, so something is causing too much bandwidth to be eaten up, and we cannot seem to figure out what it is. I am hesitant to think they are just trying to upsell me to a dedicated server when even the SEO company I have hired is saying that a shared server should be all I need given the reasons above.
Do the warnings listed cause bots to re-crawl, or otherwise cause more memory to be used when bots crawl the site (this seems to be an issue specifically related to when my site is crawled . . . I have added a crawl delay, and they have moved to some Unbuto (or something like that) server that they say will help . . .though they also assured me that I would not hit memory limits with a site as small and low traffic as mine, so who knows if that will help or not.
J
July 1, 2019 at 4:51 am #1114774Hi,
[Sat Jun 08 06:42:33 2019] [warn] [client 66.102.9.24] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jun 08 06:42:33 2019] [error] [client 66.102.9.24] Premature end of script headers: index.php
[Sat Jun 08 07:31:33 2019] [warn] [client 66.249.79.110] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jun 08 07:31:33 2019] [error] [client 66.249.79.110] Premature end of script headers: index.phpThe error above is what we and your hosting provider should try to resolve. According to some threads, it could be related to the folder and file permissions. Did you change any of that?
// https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/
The errors also involves the WordFence plugin, so you might want to check that as well. Make sure that the plugins are updated and that the files aren’t corrupted.
[Sat Jun 08 09:17:53 2019] [warn] [client 2607:f298:5:102f::ffc:e442] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: https://gatehealing.com/wp-admin/admin-ajax.php?action=wordfence_testAjax
[Sat Jun 08 09:17:53 2019] [error] [client 2607:f298:5:102f::ffc:e442] Premature end of script headers: admin-ajax.php, referer: https://gatehealing.com/wp-admin/admin-ajax.php?action=wordfence_testAjaxBest regards,
IsmaelJuly 1, 2019 at 6:03 am #1114790I’m not sure what folder/file permissions I would’ve changed? The only change I have made that might relate is that my username for my server was set as SFTP user – allows login via SFTP (SSH file transfer) for file transfers only, then I changed it to Shell user – allows login via SSH (secure shell) for command-line access, as well as SFTP (was hoping that would help me access some error logs as per some of their instructions)
But I changed it back.
Wordfence and all other plugins are updated. I’m not sure how to check and see if any files are corrupted, but I’ll send this info along to my host as well.
J
July 2, 2019 at 10:30 am #1115126Hi,
Have you tried to temporarily disable the plugins including WordFence? And if I am not mistaken, your server is blocking the admin-ajax.php file according to the error logs. Please ask your host if they can rule out this file.
[Sat Jun 08 10:32:50 2019] [error] [client 93.85.78.188] ModSecurity: Access denied with code 418 (phase 1). Pattern match “^Mozilla/5.0 \\(Windows NT 6.1; WOW64; rv:40.0\\) Gecko/20100101 Firefox/40.1$” at REQUEST_HEADERS:User-Agent. [file “/dh/apache2/template/etc/mod_sec2/99_dreamhost_rules.conf”] [line “345”] [id “1990098”] [msg “Malicious Bot UA”] [hostname “gatehealing.com”] [uri “/wp-login.php”] [unique_id “XPvxQq3srLoAABdq-JsAAAAJ”]
[Sat Jun 08 10:32:51 2019] [error] [client 93.85.78.188] ModSecurity: Access denied with code 418 (phase 1). Pattern match “^Mozilla/5.0 \\(Windows NT 6.1; WOW64; rv:40.0\\) Gecko/20100101 Firefox/40.1$” at REQUEST_HEADERS:User-Agent. [file “/dh/apache2/template/etc/mod_sec2/99_dreamhost_rules.conf”] [line “345”] [id “1990098”] [msg “Malicious Bot UA”] [hostname “gatehealing.com”] [uri “/”] [unique_id “XPvxQ63srLoAAALHKIAAAAAI”]Best regards,
IsmaelJuly 2, 2019 at 9:19 pm #1115278Hi Ismael,
The trouble with disabling plugins is that the issue I am concerned about is when my site is crawled by Google Bot, and I don’t know when that happens, so I’d have to leave some pretty important plugins disabled. I am going to go look thru my plugins to see if there are any others I can temporarily disable (like wordfence) that might help.I am about to email my host support to ask about the ajax issue. Really appreciate the help here.
JonJuly 5, 2019 at 9:27 am #1115972Hi,
Thanks for the update.
Search engines should continuously crawl your site as long as you’re updating or adding links that leads to new content. I’m sure disabling the plugins temporarily for a few minutes wouldn’t hurt. You can also ask Google to recrawl your site if you feel like it’s necessary.
// https://support.google.com/webmasters/answer/6065812?hl=en
Crawling can take anywhere from a few days to a few weeks. Be patient and monitor progress using either the Index Status report or the URL Inspection tool.
Best regards,
IsmaelJuly 6, 2019 at 5:21 am #1116139WordFence author gave me a simple piece of php.ini code to turn something off that managed to fix the issue.
Turned out that autoptimize was also creating problems and that theme author told me to deselect “optimize excluded css/js script”That fixed the issue altogether. At least for now . . . fingers crossed!
Jon
July 7, 2019 at 9:51 am #1116382Hi Jon,
Glad you finally got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.