Health Check gives database error
-
== Bug Report
=== Description
If i go to: https://localhost/wordpress/wp-admin/site-health.php?tab=debug its logging in the debug file about WordPress database error.=== Environment
- WordPress: 6.7-beta1
- PHP: 8.4.0RC1
- Server: Apache/2.4.59 (Win64) PHP/8.4.0RC1 mod_fcgid/2.3.10-dev
- Database: WP_SQLite_Translator (Server: 5.5 / Client: 3.46.0)
- Browser: Edge 129.0.0.0 (Windows 10/11)
- Theme: Twenty Twenty-Four 1.2
- MU-Plugins: None activated
- Plugins:
- Plugin Check (PCP) 1.1.0
- SQLite Database Integration 2.1.15
- WordPress Beta Tester 3.5.6
[03-Oct-2024 18:45:36 UTC] WordPress database error
MySQL query:
SHOW TABLE STATUS
Queries made or created this session were:
- Executing: BEGIN | (no parameters)
- Executing: ROLLBACK | (no parameters)
Error occurred at line 4117 in Function
handle_error
. Error message was: Syntax error: Unexpected token in query SHOW TABLE STATUS.Backtrace: #0 C:\wamp64\www\wordpress\wp-content\plugins\sqlite-database-integration\wp-includes\sqlite\class-wp-sqlite-db.php(287): WP_SQLite_Translator->get_error_message() #1 C:\wamp64\www\wordpress\wp-includes\class-wpdb.php(3142): WP_SQLite_DB->query(‘SHOW TABLE STAT…’) #2 C:\wamp64\www\wordpress\wp-admin\includes\class-wp-debug-data.php(1708): wpdb->get_results(‘SHOW TABLE STAT…’, ‘ARRAY_A’) #3 C:\wamp64\www\wordpress\wp-admin\includes\class-wp-debug-data.php(1728): WP_Debug_Data::get_database_size() #4 C:\wamp64\www\wordpress\wp-includes\rest-api\endpoints\class-wp-rest-site-health-controller.php(290): WP_Debug_Data::get_sizes() #5 C:\wamp64\www\wordpress\wp-includes\rest-api\class-wp-rest-server.php(1292): WP_REST_Site_Health_Controller->get_directory_sizes(Object(WP_REST_Request)) #6 C:\wamp64\www\wordpress\wp-includes\rest-api\class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/wp-site-health…’, Array, NULL) #7 C:\wamp64\www\wordpress\wp-includes\rest-api\class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request)) #8 C:\wamp64\www\wordpress\wp-includes\rest-api.php(449): WP_REST_Server->serve_request(‘/wp-site-health…’) #9 C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php(324): rest_api_loaded(Object(WP)) #10 C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #11 C:\wamp64\www\wordpress\wp-includes\plugin.php(565): WP_Hook->do_action(Array) #12 C:\wamp64\www\wordpress\wp-includes\class-wp.php(418): do_action_ref_array(‘parse_request’, Array) #13 C:\wamp64\www\wordpress\wp-includes\class-wp.php(813): WP->parse_request(”) #14 C:\wamp64\www\wordpress\wp-includes\functions.php(1336): WP->main(”) #15 C:\wamp64\www\wordpress\wp-blog-header.php(16): wp() #16 C:\wamp64\www\wordpress\index.php(17): require(‘C:\\wamp64\\www\\w…’) #17 {main}
for query SHOW TABLE STATUS made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WP_REST_Site_Health_Controller->get_directory_sizes, WP_Debug_Data::get_sizes, WP_Debug_Data::get_database_size, WP_SQLite_DB->query, WP_SQLite_DB->print_error
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.