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
@walkor because of this change, you broke the package.
here, I am getting error
please revert it back to Workerman\Lib\Timer.
because I can see it resolves the problem, if you edit line in vendor/workerman/phpsocket.io/src/Engine/Socket.php
from use \Workerman\Timer;
to
use \Workerman\Lib\Timer;
Error: Class "Workerman\Lib\Timer" not found in /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/phpsocket.io/src/Engine/Socket.php:238
Stack trace:
#0 [internal function]: PHPSocketIO\Engine\Socket->onClose()
#1 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/phpsocket.io/src/Event/Emitter.php(93): call_user_func_array(Array, Array)
#2 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/phpsocket.io/src/Engine/Transport.php(68): PHPSocketIO\Event\Emitter->emit('close')
#3 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Connection/TcpConnection.php(944): PHPSocketIO\Engine\Transport->onClose(Object(Workerman\Connection\TcpConnection))
#4 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Connection/TcpConnection.php(592): Workerman\Connection\TcpConnection->destroy()
#5 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Events/Select.php(352): Workerman\Connection\TcpConnection->baseRead(Resource id #70)
#6 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Worker.php(2399): Workerman\Events\Select->run()
#7 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Worker.php(1524): Workerman\Worker->run()
#8 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Worker.php(1371): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker))
#9 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Worker.php(1345): Workerman\Worker::forkWorkersForLinux()
#10 /Users/binemmanuel/Projects/zerabtech_app/backend/vendor/workerman/workerman/src/Worker.php(557): Workerman\Worker::forkWorkers()
#11 /Users/binemmanuel/Projects/zerabtech_app/backend/src/socket.php(14): Workerman\Worker::runAll()
#12 {main}
worker[PHPSocketIO:55411] exit with status 64000
phpsocket.io Version
workerman/phpsocket.io": "^1.1.14
The text was updated successfully, but these errors were encountered: