densa
После обновления ВП при добавлении поста/комментария выдается ошибка
WordPress database error: [Table '***post2cat' doesn't exist]
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_***` p LEFT JOIN `***post2cat` pc ON p.ID = pc.post_id LEFT JOIN `***categories` c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
Warning: Cannot modify header information - headers already sent by (output started at /usr/home/***/html/wp-includes/wp-db.php:160) in /usr/home/***/html/wp-includes/pluggable.php on line 391
Как это починить можно?
lokki
densa писал:
[Table '***post2cat' doesn't exist]
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_***` p LEFT JOIN `***post2cat` pc ON p.ID = pc.post_id LEFT JOIN `***categories` c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
по описания не хватает таблички
'***post2cat' (`***post2cat`)
проверь есть ли она.