Skip to content

Conflict with WPML #123

@marcochiesi

Description

@marcochiesi

When I activate Comment Popularity along with WPML (the popular multilingual plugin), I get the following error:

Catchable fatal error: Object of class Twig_Source could not be converted to string in /.../wp-content/plugins/comment-popularity/inc/lib/twig/twig/lib/Twig/Lexer.php on line 87

The same error occurs also on a plain vanilla WordPress install with only these 2 plugins activated.
It seems there's a conflict on the different Twig version included by the plugins (see also this topic on WPML support forum).

Is there something that can be done to ensure compatibility with WPML? I.e. downgrading the version of Twig shipped with your plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions