Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kksmart

    (@kksmart)

    Just gave it a try. Changed the php to 7.4. Same result.

    2 critical issues under Site Health

    “The REST API encountered an error”

    “Your site could not complete a loopback request”

    And can not load themes after click Add Themes. All tabs on the Add Themes page received same error.

    “An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums

    • This reply was modified 1 year, 10 months ago by kksmart.
    Thread Starter kksmart

    (@kksmart)

    Hello @abletec ,

    That was a good point. I did not check the compatibility on php.

    I am not using IIS. Just using nginx&php to shoulder the wordpress.

    Will give it a try of downgrading the PHP. Thanks again. ??

    Thread Starter kksmart

    (@kksmart)

    Hello @abletec,

    Thanks a lot for your reply and your time on helping me to resolve this issue.

    In terms of the programs used for running wordpress, I am only using Nginx and Php.

    I ran it as admin with fastcgi.impersonate = 1 uncommented, unfortunately same result.

    The thing really confusing me was that it looks like other parts are normal, for instance, I can browse and load the plugins and add new a plugin. Just browsing Themes have this problem.

    I got puzzled…. maybe I should try Ubunto or other linux …..

    Thread Starter kksmart

    (@kksmart)

    Hello dear @abletec,

    Thanks so much for you quick reply and explanation. I really appreciated it.

    In terms of the server setup and configuration, what I have done so far was as below.

    All the configuration details I have put in the pastebin (Thanks for the recommendation)

    1. nginx-1.24.0
      nginx.conf (https://pastebin.com/m2nsJNic)
    2. php 8.2.5
      php.ini (https://pastebin.com/Xfjiv1e1)

    My server folder is created at C:\WebServer with C:\WebServer\nginx and C:\WebServer\php, wordpress 6.2 downloaded put into the C:\WebServer\nginx\www\.

    In terms of WordPress Health Check, there are two issues displayed.

    1. The REST API encountered an error
    The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
    
    When testing the REST API, an error was encountered:
    
    REST API Endpoint: https://localhost:8080/wordpress/index.php?rest_route=%2Fwp%2Fv2%2Ftypes%2Fpost&context=edit
    REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10002 milliseconds with 0 bytes received

    2. Your site could not complete a loopback request

    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 to your site failed, this means features relying on them are not currently working as expected.
    Error: cURL error 28: Operation timed out after 10005 milliseconds with 0 bytes received (http_request_failed)

    I am grateful for any advice and suggestions.

    KK

Viewing 4 replies - 1 through 4 (of 4 total)