Catchable fatal error: Closure object cannot have properties
-
I get this error:
Catchable fatal error: Closure object cannot have properties in /srv/www/my-site/htdocs/WP/wp-includes/post.php on line 522
It traces back to
wordpress_seo/admin/metabox/class_metabox.php:793
:if ( wp_is_post_revision( $post_id ) ) { $post_id = wp_is_post_revision( $post_id ); }
The
$post_id
returns something that is not an ID:Closure Object ( [parameter] => Array ( [$attachment_id] => <required> ) )
Any idea what might cause this? It happens on php 5 and php 7.1.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Catchable fatal error: Closure object cannot have properties’ is closed to new replies.