Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated #18

@dmitryuk

Description

@dmitryuk

Cannot start swoolefor. Server starting and immediately stopped. What do you think to do?

[2022-01-18 08:13:58] MIX.INFO: [Executor.php:68] executor start, exec: [/usr/local/bin/php -e /var/www/bin/server]
2022-01-18T08:13:58.716124434Z [2022-01-18 08:13:58] MIX.INFO: [Executor.php:82] fork sub process, pid: 23
2022-01-18T08:13:58.716566984Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:76] monitor start
2022-01-18T08:13:58.716577835Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:77] watch: /var/www
2022-01-18T08:13:58.716590526Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:78] delay: 3s
2022-01-18T08:13:58.716605826Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:79] ext: .php,.json
2022-01-18T08:13:58.716614290Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:81] scanning folder ...
2022-01-18T08:13:58.863579229Z [2022-01-18 08:13:58] MIX.INFO: [InotifyMonitor.php:90] watch folders: 13059
2022-01-18T08:13:59.064591382Z 
2022-01-18T08:13:59.064642197Z Fatal error: Uncaught Mix\Console\Exception\ErrorException: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown:0
2022-01-18T08:13:59.064653234Z Stack trace:
2022-01-18T08:13:59.064660216Z #0 [internal function]: Mix\Console\Error->appError(8192, 'Swoole\\Event::r...', 'Unknown', 0)
2022-01-18T08:13:59.064667286Z #1 [internal function]: Swoole\Event::rshutdown()
2022-01-18T08:13:59.064672643Z #2 {main}
2022-01-18T08:13:59.064677794Z   thrown in Unknown on line 0

Version: 1.2.2, Swoole: 4.8.6, Use: inotify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions