getgrav / getgrav/grav-plugin-admin

curl_multi_exec() Error in admin gui

Open
#2,378 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the admin request that reaches Symfony\Component\HttpClient\Response\curl_multi_exec and reproduce it on a hosting service without the function; clarify whether completion means suppressing the fatal error or adding a configuration toggle, then verify that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.