Closed jdevalk closed 7 months ago
This issue is fixed in 2.0.3. Thanks again, @jdevalk!
I still see it when I download the plugin from .org and install it in a clean playground?
Pfff, I read past the allow_url_fopen
part and was only checking for cURL. 🤦🏻♂️ Fix will be included in the next release! Thanks again!
If you try to use the Plausible WordPress plugin on the WordPress playground, you get the following fatal error:
I was going to suggest "just" from using GuzzleHttp to WordPress core's
Wp_Http
library, usingwp_remote_get
orwp_remote_post
, but looking at your code that might be non-trivial, which means you'll have to at least catch the RuntimeException above and throw a notice to the user instead of a fatal error.