You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? If possible, provide a simple script for reproducing the error.
Anyone know why I would be getting "Uncaught mysqli_sql_exception: Malformed packet in" after doing this:
$processes[$index] = new \Swoole\Process(function($process) use ($chunk, $diffOnly){
foreach ($chunk as $agency) {
$results = $this->get($agency->AgencyID, null, null);
$this->saveResults($results, $diffOnly);
}
});
$processes[$index]->start();
}
\Swoole\Process::wait(true);
if I remove the ::wait(true) the error goes away. I also only get this error when running v22.0.0. on php 8.2
I have tried php 7.4 on 22.0.0 and the error does not happen.
Is this a bug or is there a better way to do this? It happens to any queries that get run after the above code block
What did you expect to see?
No Error
What did you see instead?
Uncaught mysqli_sql_exception: Malformed packet in
What version of OpenSwoole are you using (show your php --ri openswoole)?
22.0.0
What is your machine environment used (show your uname -a & php -v & gcc -v) ?
Anyone know why I would be getting "Uncaught mysqli_sql_exception: Malformed packet in" after doing this:
if I remove the ::wait(true) the error goes away. I also only get this error when running v22.0.0. on php 8.2
I have tried php 7.4 on 22.0.0 and the error does not happen.
Is this a bug or is there a better way to do this? It happens to any queries that get run after the above code block
php --ri openswoole
)?uname -a
&php -v
&gcc -v
) ?You can also try the following OpenSwoole support channels:
The text was updated successfully, but these errors were encountered: