parallel icon indicating copy to clipboard operation
parallel copied to clipboard

Cannot declare class Amp\Parallel\Sync\SerializationException, because the name is already in use

Open 4n70w4 opened this issue 4 years ago • 2 comments

Hi!

Warning: Cannot declare class Amp\Parallel\Sync\SerializationException, because the name is already in use in /var/www/nova/vendor/amphp/parallel/lib/Sync/functions.php on line 8

May be need add check before class_alias call.

4n70w4 avatar Feb 24 '22 06:02 4n70w4

I am getting this error too.

Danielss89 avatar Mar 02 '22 08:03 Danielss89

I am seeing this error when I enable opcache preloading in my project. Opened a PR that should fix this with more info.

melkamar avatar May 04 '22 08:05 melkamar

Closed via https://github.com/amphp/parallel/commit/75853e1623efa5aa5e65e986ec9a97db573a5267

trowski avatar Dec 30 '22 00:12 trowski