Skip to content
This repository was archived by the owner on Mar 3, 2021. It is now read-only.
This repository was archived by the owner on Mar 3, 2021. It is now read-only.

cannot access self:: when no class scope is active #1

Description

@mikekelly1

Hi thanks for a great module - I am using it now. Out of the box I got:

"cannot access self:: when no class scope is active" 0n line 88 in Module.php. I think this works in PHP5.4 but I am using 5.3. I had to edit:

return new Purify($locator->get(self::SERVICE_NAME));
to
return new Purify($locator->get(Module::SERVICE_NAME));

After that I had to create a new data\cache\htmlpurifier directory and give it write permissions. I only mention this to help anyone else using the module. Maybe you could mention it in the docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions