Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

PHP Unknown: Declaration of Core_Worker_ObjectMediator::check_environment() #20

Closed
torrentalle opened this issue Nov 19, 2012 · 1 comment

Comments

@torrentalle
Copy link

Hi,
I get this error when I run a example or when I execute my worker.

PHP Unknown: Declaration of Core_Worker_ObjectMediator::check_environment() should be compatible with Core_Worker_Mediator::check_environment(array $errors = Array) in lib/PHP-Daemon/Core/Worker/ObjectMediator.php on line 12 pid 2483

To reapir it I'have changed the file Daemon/Core/Worker/ObjectMediator.php

-- public function check_environment() {
-- $errors = array();

with

++ public function check_environment(Array $errors = array()) {
++ //$errors = array();

@shaneharter
Copy link
Owner

Thanks for the note, and sorry for the trouble.

This fix is already merged into the 2.1 branch being developed in the feature_abstract_ipc branch. If I have a sec I'll update master but if not, I expect 2.1 to ship sometime the last week of Nov - first week of Dec.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants