Skip to content
This repository was archived by the owner on Nov 30, 2019. It is now read-only.
This repository was archived by the owner on Nov 30, 2019. It is now read-only.

Strict standards error #1

@djeraseit

Description

@djeraseit

Error when trying to use the class per your README. PHP version is 5.4.45

PHP Strict Standards: Declaration of Nemiro\Nginx\DirectiveGroup::AddDirective() should be compatible with Nemiro\Nginx\Directive::AddDirective($nameOrInstance, $parameters = NULL, $childs = NULL) in /var/www/html/nginx/DirectiveGroup.php on line 74
NULL
PHP Fatal error: Call to a member function ContainsChild() on a non-object in /var/www/html/nginx.php on line 11
This is my line 11:

if ($conf['server']->ContainsChild('listen'))

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