Issue Summary
I want to download a newly created page in my plugin, but I get the following error:
PHP Warning: file_get_contents(https://reactpress.local/test): failed to open stream: operation failed in /home/macco/Local Sites/reactpress/app/public/wp-content/plugins/reactpress/admin/class-reactpress-admin.php on line 305
The weird thing is, it works when I am using a PHP repl in a Site Shell.
Does anybody have an idea, what could be the problem?
Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
It happens in all Local installations, it worked before in Local, but I can’t remember the version. Other dev and live environments don’t have this error.
System Details
-
Which version of Local is being used?
- 6.1.1+5468
-
What Operating System (OS) and OS version is being used?
- Ubuntu 20.04.01
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
- local-lightning.log (185.2 KB)