wordpress 数据库 table 名称更新
wordpress database table name update
我正在尝试阅读此错误日志,以便我可以找到并更新任何试图找到 wp_posts
并将其更新为 wp_oeai_posts
的内容,但我终究无法找到任何正在寻找的代码wp_posts
在数据库中或 php
WordPress database error Table 'testdb.wp_posts' doesn't exist for query SELECT u.* FROM uploads AS u LEFT JOIN approvals AS a ON a.uploadID = u.ID
left join wp_posts as p on p.id = u.postid order by case when p.post_status = 'pending' then 0 else 1 end, submittedat desc made by require('wp-blog-header.php'),
require_once('wp-includes/template-loader.php'), include('/themes/twentyfourteen/page.php'),
get_template_part, locate_template, load_template,
require('/themes/twentyfourteen-child/content-page.php'),
the_content, apply_filters('the_content'), WP_Hook->apply_filters,
do_shortcode, preg_replace_callback, do_shortcode_tag, user_upload_manager_listsubmissions,
user_upload_manager_submissions->printsubmissions
找到需要更新的代码,listsubmissions.php
' left join wp_oeai_posts as p on p.id = u.postid'
我正在尝试阅读此错误日志,以便我可以找到并更新任何试图找到 wp_posts
并将其更新为 wp_oeai_posts
的内容,但我终究无法找到任何正在寻找的代码wp_posts
在数据库中或 php
WordPress database error Table 'testdb.wp_posts' doesn't exist for query SELECT u.* FROM uploads AS u LEFT JOIN approvals AS a ON a.uploadID = u.ID
left join wp_posts as p on p.id = u.postid order by case when p.post_status = 'pending' then 0 else 1 end, submittedat desc made by require('wp-blog-header.php'),
require_once('wp-includes/template-loader.php'), include('/themes/twentyfourteen/page.php'),
get_template_part, locate_template, load_template,
require('/themes/twentyfourteen-child/content-page.php'),
the_content, apply_filters('the_content'), WP_Hook->apply_filters,
do_shortcode, preg_replace_callback, do_shortcode_tag, user_upload_manager_listsubmissions,
user_upload_manager_submissions->printsubmissions
找到需要更新的代码,listsubmissions.php
' left join wp_oeai_posts as p on p.id = u.postid'