Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Visualizer 3.9.0 breaks with Polylang #960

Copy link
Copy link

Description

@todeveni
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.This 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.Indicate 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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.