Lỗi cơ sở dữ liệu WordPress: [Duplicate entry '0' for key 'PRIMARY']INSERT INTO `wp_postmeta` (`post_id`, `meta_key`, `meta_value`) VALUES (12528, '_wc_rating_count', 'a:0:{}')
Fatal error: Uncaught Error: Call to undefined function wc_get_loop_product_visibility() in /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/themes/flatsome/woocommerce/content-product.php:24 Stack trace: #0 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-includes/template.php(792): require() #1 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(181): load_template() #2 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/themes/flatsome/woocommerce/layouts/category.php(74): wc_get_template_part() #3 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-includes/template.php(792): require('/home/mayvanpho...') #4 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(181): load_template() #5 /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/themes/flatsome/woocommerce/archive-product.php(27): wc_get_template_part() #6 /home/mayvanphonghbcom/mayvanphon in /home/mayvanphonghbcom/mayvanphonghb.com/public_html/wp-content/themes/flatsome/woocommerce/content-product.php on line 24