Как исправить ошибки в моей БД? - PullRequest
0 голосов
/ 29 августа 2018

Я создал свой сайт WP локально, и я нахожусь в процессе миграции на сервер. При попытке экспортировать базу данных я получил сообщение о том, что были обнаружены некоторые ошибки:


Warning in .\libraries\plugin_interface.lib.php#551
 count(): Parameter must be an array or an object that implements Countable
Backtrace
.\libraries\display_export.lib.php#384: PMA_pluginGetOptions(
string 'Export',
array,
)
.\libraries\display_export.lib.php#882: PMA_getHtmlForExportOptionsFormat(array)
.\libraries\display_export.lib.php#1096: PMA_getHtmlForExportOptions(
string 'database',
string 'srathnam',
string '',
string '<div class="export_table_list_container"><input type="hidden" name="structure_or_data_forced" value="0"><table class="export_table_select"><thead><tr><th></th><th>Tables</th><th class="export_structure">Structure</th><th class="export_data">Data</th></tr><tr><td></td><td class="export_table_name all">Select all</td><td class="export_structure all"><input type="checkbox" id="table_structure_all" /></td><td class="export_data all"><input type="checkbox" id="table_data_all" /></td></tr></thead><tbody> <tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_commentmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_commentmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_commentmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_commentmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_comments" checked="checked" class="checkall"/></td><td class="export_table_name">wp_comments</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_comments" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_comments" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_duplicator_packages" checked="checked" class="checkall"/></td><td class="export_table_name">wp_duplicator_packages</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_duplicator_packages" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_duplicator_packages" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_links" checked="checked" class="checkall"/></td><td class="export_table_name">wp_links</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_links" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_links" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_options" checked="checked" class="checkall"/></td><td class="export_table_name">wp_options</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_options" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_options" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_postmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_postmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_postmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_postmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_posts" checked="checked" class="checkall"/></td><td class="export_table_name">wp_posts</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_posts" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_posts" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_tcb_api_error_log" checked="checked" class="checkall"/></td><td class="export_table_name">wp_tcb_api_error_log</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_tcb_api_error_log" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_tcb_api_error_log" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_termmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_termmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_termmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_termmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_terms" checked="checked" class="checkall"/></td><td class="export_table_name">wp_terms</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_terms" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_terms" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_term_relationships" checked="checked" class="checkall"/></td><td class="export_table_name">wp_term_relationships</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_term_relationships" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_term_relationships" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_term_taxonomy" checked="checked" class="checkall"/></td><td class="export_table_name">wp_term_taxonomy</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_term_taxonomy" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_term_taxonomy" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_usermeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_usermeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_usermeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_usermeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_users" checked="checked" class="checkall"/></td><td class="export_table_name">wp_users</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_users" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_users" checked="checked" /></td></tr> </tbody></table></div>',
integer 14,
array,
integer 0,
)
.\db_export.php#154: PMA_getExportDisplay(
string 'database',
string 'srathnam',
string '',
string '',
integer 14,
integer 0,
string '<div class="export_table_list_container"><input type="hidden" name="structure_or_data_forced" value="0"><table class="export_table_select"><thead><tr><th></th><th>Tables</th><th class="export_structure">Structure</th><th class="export_data">Data</th></tr><tr><td></td><td class="export_table_name all">Select all</td><td class="export_structure all"><input type="checkbox" id="table_structure_all" /></td><td class="export_data all"><input type="checkbox" id="table_data_all" /></td></tr></thead><tbody> <tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_commentmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_commentmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_commentmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_commentmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_comments" checked="checked" class="checkall"/></td><td class="export_table_name">wp_comments</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_comments" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_comments" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_duplicator_packages" checked="checked" class="checkall"/></td><td class="export_table_name">wp_duplicator_packages</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_duplicator_packages" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_duplicator_packages" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_links" checked="checked" class="checkall"/></td><td class="export_table_name">wp_links</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_links" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_links" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_options" checked="checked" class="checkall"/></td><td class="export_table_name">wp_options</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_options" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_options" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_postmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_postmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_postmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_postmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_posts" checked="checked" class="checkall"/></td><td class="export_table_name">wp_posts</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_posts" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_posts" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_tcb_api_error_log" checked="checked" class="checkall"/></td><td class="export_table_name">wp_tcb_api_error_log</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_tcb_api_error_log" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_tcb_api_error_log" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_termmeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_termmeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_termmeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_termmeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_terms" checked="checked" class="checkall"/></td><td class="export_table_name">wp_terms</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_terms" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_terms" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_term_relationships" checked="checked" class="checkall"/></td><td class="export_table_name">wp_term_relationships</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_term_relationships" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_term_relationships" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_term_taxonomy" checked="checked" class="checkall"/></td><td class="export_table_name">wp_term_taxonomy</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_term_taxonomy" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_term_taxonomy" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_usermeta" checked="checked" class="checkall"/></td><td class="export_table_name">wp_usermeta</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_usermeta" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_usermeta" checked="checked" /></td></tr><tr class="marked"><td><input type="checkbox" name="table_select[]" value="wp_users" checked="checked" class="checkall"/></td><td class="export_table_name">wp_users</td><td class="export_structure"><input type="checkbox" name="table_structure[]" value="wp_users" checked="checked" /></td><td class="export_data"><input type="checkbox" name="table_data[]" value="wp_users" checked="checked" /></td></tr> </tbody></table></div>',
)

Есть идеи, почему у меня такое сообщение? Какую ошибку я сделал? Насколько это влияет? И как это решить?

...