Skip to content

Conversation

@kanhaic
Copy link

@kanhaic kanhaic commented Oct 7, 2016

While using the library we kept getting the below error. to resolve the issue I have added a single quote. to the signal name array.

A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGQUIT - assumed 'SIGQUIT'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 57

Backtrace:
    File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
    Line: 57
    Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGTERM - assumed 'SIGTERM'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 58

Backtrace:
    File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
    Line: 58
    Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGINT - assumed 'SIGINT'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 59

Backtrace:
    File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
    Line: 59
    Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGUSR1 - assumed 'SIGUSR1'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 60

Backtrace:
    File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
    Line: 60
    Function: _error_handler

When running worker. the below error was received. resolved the error by adding single quotes to it.

A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGQUIT - assumed 'SIGQUIT'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 57

Backtrace:
	File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
	Line: 57
	Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGTERM - assumed 'SIGTERM'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 58

Backtrace:
	File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
	Line: 58
	Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGINT - assumed 'SIGINT'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 59

Backtrace:
	File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
	Line: 59
	Function: _error_handler



A PHP Error was encountered

Severity:    Notice
Message:     Use of undefined constant SIGUSR1 - assumed 'SIGUSR1'
Filename:    /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
Line Number: 60

Backtrace:
	File: /Users/kanhai/htdocs/rabbitmq/application/vendor/josegonzalez/queuesadilla/src/josegonzalez/Queuesadilla/Worker/Base.php
	Line: 60
	Function: _error_handler
removed error Use of undefined constant
@kanhaic kanhaic closed this Oct 7, 2016
@kanhaic
Copy link
Author

kanhaic commented Oct 7, 2016

I was missing PCNTL extension in PHP. please delete this.

@coveralls
Copy link

Coverage Status

Coverage decreased (-22.9%) to 62.688% when pulling 6e58aea on kanhaic:master into a969693 on josegonzalez:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants