Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl_multi_exec() Error in admin gui #2378

Open
apaeffgen opened this issue Oct 30, 2023 · 2 comments
Open

curl_multi_exec() Error in admin gui #2378

apaeffgen opened this issue Oct 30, 2023 · 2 comments

Comments

@apaeffgen
Copy link

I tried to use grav in sourceforge.net and infinityfree.com
Both are free hosting services. In both services i have no chance to change anything. Both produce the same error:

Call to undefined function Symfony\Component\HttpClient\Response\curl_multi_exec()

A comment on FAQ of infinityfree.com:

The function curl_multi_exec() has never worked on free hosting, however PHP8 changed the way that undefined functions work, as they throw a fatal error now. If your code was working before, just removing the function and all should be good.

I just would like to suppress the message, if the code is needed for other purpuses. Or an Option to turn on / off the functionality for the curl function.

@Wohma
Copy link

Wohma commented Dec 24, 2023

Same issue for me, tried changing PHP versions (tested with 8.1 and 8.3) but it didn't change anything. Latest version of grav and grav-admin (1.10.43) and the Reports page in the admin shows all green/correctly set up.

@Wohma
Copy link

Wohma commented Dec 24, 2023

... and I think I may have solved it by going to Configuration -> System -> Advanced -> HTTP Section -> Remote Fetch Method = fopen
(it was on auto and probably trying curl first before falling back to fopen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants