-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sync failed — using apache server on php v 8.3.6 #22
Comments
Would need more details about this:
|
I ran into the same issue, both on the production server as well as my local environment. Both running PHP 8.1. Running I disabled the Digging further into embed
I disabled the error exception and the results look fine so for now as my temporary fix I enhanced CurlDispatcher's if (curl_errno($this->curl) && curl_errno($this->curl) != 23){
$this->error(curl_error($this->curl), curl_errno($this->curl));
} |
I found a cleaner way to ignore the error – embed has a built in way: In $embed = new Embed\Embed(); To: use Embed\Http\Crawler;
use Embed\Http\CurlClient;
...
$client = new CurlClient();
$client->setSettings([
'ignored_errors' => [23]
]);
$embed = new Embed\Embed(new Crawler($client)); |
working locally but as soon as puched to staging or production on apache server, it's not working.
error: sync failed in the admin panel;
K4.2.0
PHP8.3.6
The text was updated successfully, but these errors were encountered: