Skip to content

Bug: frontend 500 error on Lang::Dictionary()->translate($str); #3

@davidhund

Description

@davidhund

I was just trying to implement this extension but my front-end craps out with a 500 error.

The error message is: PHP Fatal error: Call to a member function translate() on a non-object in /..my-project../extensions/cookie_law/data-sources/data.cookie_law.php on line 61

It seems the Lang:: class is unknown. Is this only a matter of requireing the lang/lang.xx.php file?

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