Fatal error: Uncaught Error: Call to a member function get_catalog_visibility()
-
Hello, i just found 2 posts in my admin section has no title and content, when i enter to the product, i got this error ( just bellow the Publish button) and i can’t see anything in this page.
also Quick edit is not working.
Fatal error: Uncaught Error: Call to a member function get_catalog_visibility() on bool in /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php on line 671 Call stack: WC_Admin_Post_Types::product_data_visibility() wp-includes/class-wp-hook.php:292 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:316 WP_Hook::do_action() wp-includes/plugin.php:484 do_action() wp-admin/includes/meta-boxes.php:312 post_submit_meta_box() wp-admin/includes/template.php:1389 do_meta_boxes() wp-admin/edit-form-advanced.php:681 require() wp-admin/post.php:206 Query Monitor
i tried to search for this product in phpmyadmin, (post and postmeta) i can find the fields in the database.
can you advice how can i fix this 2 products please?note: i am using wpml for translation, but i don’t know if the issue is related, and i don’t know how this happened
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error: Uncaught Error: Call to a member function get_catalog_visibility()’ is closed to new replies.