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

WPML - Type Closure #8

Copy link
Copy link

Description

@thierfelder-marcus
Issue body actions

As soon as WPML is installed and activated, the following error occurs.

PHP Fatal error: Uncaught Error: Cannot use object of type Closure as array in /wp-content/plugins/debugpress/core/track/Tracker.php:694

The following bugfix would provide a remedy:

if ( !is_array($call['args']) || !is_array($call['args'][0]) ) {
    continue;
}

This must be inserted above (Tracker.php line 694)

if ( isset( $call['args'][0][0] ) && $call['args'][0][0] instanceof Tracker )

Maybe it would be possible to integrate this bugfix in the next update.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingSomething isn't working

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.