Skip to content

preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ../application/libraries/Zend/Db/Statement.php #1088

@DBinaghi

Description

@DBinaghi

Multilanguage plugin is making Omeka raise the following warning:

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /web/htdocs/omeka/home/application/libraries/Zend/Db/Statement.php on line 200

As the plugin is not maintained anymore, I am trying to locate the error in its code. But I think a safe-check should be introduced also in the Statement.php file, for case like this.

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