Skip to main content

When updating a plugin, theme, or PHP file via the WordPress admin dashboard, you may receive the following error message:

Comments

14 comments

  • cPRex Jurassic Moderator

    Hey there!  You would only be able to check ModSecurity problems if you have root access to the server.  If you only have cPanel access to the machine you wouldn't be able to check this.

    You can check the loopback requests inside WordPress using the details here: https://www.inmotionhosting.com/support/edu/wordpress/are-wordpress-loopback-requests-enabled/

    0
  • Dylan McKinstry

    I get the following the results from the loop back test:

     

    Your site could not complete a loopback requestPerformance

    Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

    The loopback request returned an unexpected http status code, 400, it was not possible to determine if this will prevent features from working as expected.

     

    Not sure how to fix this. Please help

    0
  • Dylan McKinstry

    when I run the following command tail -f /etc/apache2/logs/error_log

     

    get the following:

    2025-04-26 10:17:25.107486 [INFO] [39817] [T0] [127.0.0.1:37934#APVH_127.0.0.1:80_phx01-wb01.speedyturtleonline.net] File not found [/var/www/html/whm-server-status]
    2025-04-26 10:18:25.199135 [INFO] [39817] [T0] [127.0.0.1:48528#APVH_127.0.0.1:80_phx01-wb01.speedyturtleonline.net] File not found [/var/www/html/whm-server-status]
    2025-04-26 10:19:19.810746 [INFO] [39817] [T0] [APVH_speedytu_Suea-php82:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_speedytu_Suphp82.sock.pid].
    2025-04-26 10:19:19.810756 [INFO] [39817] [T0] [APVH_speedytu_Suea-php82:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_speedytu_Suphp82.sock
    2025-04-26 10:19:19.811280 [INFO] [39817] [T0] [APVH_speedytu_Suea-php82:] add child process pid: 621918, procinfo: 0x27937aa0
    2025-04-26 10:19:19.811346 [INFO] [39817] [T0] [APVH_speedytu_Suea-php82:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_speedytu_Suphp82.sock.pid].
    2025-04-26 10:19:25.292244 [INFO] [39817] [T0] [127.0.0.1:51496#APVH_127.0.0.1:80_phx01-wb01.speedyturtleonline.net] File not found [/var/www/html/whm-server-status]
    2025-04-26 10:19:45.863320 [INFO] [39810] [T0] [60.13.138.11:43204#APVH_*_phx01-wb01.speedyturtleonline.net] File not found [/usr/local/cpanel/cgi-sys/favicon.ico]
    2025-04-26 10:20:01.093559 [INFO] [39817] [T0] [127.0.0.1:52620#APVH_127.0.0.1:80_phx01-wb01.speedyturtleonline.net] File not found [/var/www/html/whm-server-status]
    2025-04-26 10:20:25.383987 [INFO] [39817] [T0] [127.0.0.1:42812#APVH_127.0.0.1:80_phx01-wb01.speedyturtleonline.net] File not found [/var/www/html/whm-server-status]

    Running litespeed webserver

     

    0
  • cPRex Jurassic Moderator

    Thanks for the additional details - the "tail" output would only be relevant if you were running into your issue while watching that command.

    It's odd that this wouldn't be configured by default on your system.  Do you see a line containing "localhost" inside of /etc/hosts on your machine?  Usually there are two, one for IPv4 and one for IPv6, that look similar to this:

    127.0.0.1               localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1             localhost localhost.localdomain localhost6 localhost6.localdomain6

    If those aren't present that could be causing your issue.

    0
  • Dylan McKinstry

    I show the following: 
    ::1             localhost ip6-localhost ip6-loopback
    fe00::0         ip6-localnet
    ff00::0         ip6-mcastprefix
    ff02::1         ip6-allnodes
    ff02::2         ip6-allrouters

    127.0.0.1               localhost
    127.0.1.1               localhost e31230v5

    0
  • cPRex Jurassic Moderator

    That certainly looks fine to me - you may want to ask your host why you're failing the loopback test as cPanel doesn't manage the network settings.

    0
  • Dylan McKinstry

    so I would need to reach out to Phx NAP since they own the server correct?

    0
  • cPRex Jurassic Moderator

    Correct.

    0
  • Dylan McKinstry

    ok thank you and will do

    0
  • cPRex Jurassic Moderator

    Sounds good - let me know what they say!

    0
  • Dylan McKinstry

    Nap

    then go in and add a # in front of the 127.0.1.1 and save. test it and see if it's still broken, then go back and put a # in front of the 66.85.169.74, save and try again.

    the # will comment out the line

    what we want to see is if the hosts file is causing this issue you're having

    that didn't work still getting the loop back error

    from your server, do a traceroute localhost

    and provide the output

    root@phx01-wb01:/etc# traceroute localhost
    traceroute to localhost (::1), 30 hops max, 80 byte packets
     1  localhost (::1)  0.094 ms  0.052 ms  0.043 ms
    root@phx01-wb01:/etc#

    NAP:

    My impression is that if you can ping or traceroute localhost, nothing is wrong with your setup

    there is something wrong with wordpress

    I would continue to work with the software support over this issue and if they say to reach out to us, let them know you have and confirmed network is fine

    0
  • cPRex Jurassic Moderator

    Alright - so they confirmed the network is good.

    Was your WordPress installation performed through WP Toolkit?

    0
  • Dylan McKinstry

    Through Wordpress Manager - Softaculous.

     

    0
  • cPRex Jurassic Moderator

    Thanks for that information.  cPanel doesn't provide support for Softaculous so your host would be the best point of contact for issues with that tool.

    0

Please sign in to leave a comment.