Trying to get information from an external source, I\'m receiving the following error:
Warning: php_network_getaddresses: getaddrinfo
In my case this was being issued by wp cli, and the problem was that I didn't have php7.3-curl installed. Fixed with: apt-get install -y --quiet php7.3-curl
wp cli
php7.3-curl
apt-get install -y --quiet php7.3-curl