PHP Warning: Invalid argument supplied for foreach()
-
Hi there, we are getting the following error in our log:
FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in [path to WP installation]/wp-includes/class-wp-post-type.php on line 669 [ … ] request: “POST /wp-json/complianz/v1/track HTTP/1.1”the respective code on line 669 in class-wp-post-type.php is
foreach ( $this->taxonomies as $taxonomy ) { register_taxonomy_for_object_type( $taxonomy, $this->name ); }Could you point us to any solutions?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP Warning: Invalid argument supplied for foreach()’ is closed to new replies.