Skip to content

Visualizer 3.9.0 breaks with Polylang #960

Closed
@todeveni

Description

@todeveni

Description:

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

Technical info

  • WordPress version: 6.0.3
  • Plugin version: 3.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions