Wordpress wp_remote_post() gives “cURL error 6: Could not resolve host”

前端 未结 1 1370
别跟我提以往
别跟我提以往 2020-12-06 23:32

Since this morning some function in a wordpress site I\'m managing is not working anymore. I syslogged the response from it, which gives me:

{\"errors\":{\"h         


        
相关标签:
1条回答
  • 2020-12-07 00:23

    as mentioned here and due to this USN:

    you will may need to update your dist

    sudo apt-get update
    sudo apt-get dist-upgrade
    

    this fixed my issue with curl


    Update

    you will need to be aware of the dist-upgrade step, some packages -such as php- during the updrage will prompt you to ask you wether you want to replace the configuration files , you must be very aware of what you are doing here , keeping those files or replacing with the new -default- files.

    0 讨论(0)
提交回复
热议问题