You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visualizer 3.9.0 added WPML support in ad22ce3, which breaks the plugin with Polylang, since Polylang registers icl_get_languages function for WPML compatibility.
Maybe some additional checks for $sitepress global that it's actually instanceof SitePress?
How to reproduce:
Install Visualizer 3.9.0. Install Polylang.
Expected behaviour:
Site loads with graphs.
Current behaviour:
Site doesn't load with graphs.
Call to a member function get_element_trid() on null
errfile:wp-content/plugins/visualizer/classes/Visualizer/Module/Frontend.php
errline:312
Description:
Visualizer 3.9.0 added WPML support in ad22ce3, which breaks the plugin with Polylang, since Polylang registers
icl_get_languagesfunction for WPML compatibility.Maybe some additional checks for
$sitepressglobal that it's actuallyinstanceof SitePress?How to reproduce:
Install Visualizer 3.9.0. Install Polylang.
Expected behaviour:
Site loads with graphs.
Current behaviour:
Site doesn't load with graphs.
Technical info