【问题标题】:wordpress database table name updatewordpress 数据库表名更新
【发布时间】:2021-07-20 03:14:18
【问题描述】:

我正在尝试阅读此错误日志,以便我可以找到并更新试图找到 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

【问题讨论】:

  • grep -r 是你的朋友。或 PhpStorm。

标签: mysql wordpress error-log


【解决方案1】:

找到需要更新的代码,listsubmissions.php ' left join wp_oeai_posts as p on p.id = u.postid'

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-22
    • 2014-12-31
    • 1970-01-01
    • 1970-01-01
    • 2019-04-27
    相关资源
    最近更新 更多