humanmade / humanmade/comment-popularity

Conflict with WPML

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
26
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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](https://wpml.org/forums/topic/twig-update/) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.