PHP Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result)
-
WordPress install the W3 total cache plugin latter
Checks the error log file.
view look:
PHP 8.0
WordPress 6.5.3
thrown in /home/xxx/public_html/wp-includes/class-wpdb.php on line 3868
[25-May-2024 19:56:08 UTC] PHP Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, null given in /home/xxx/public_html/wp-includes/class-wpdb.php:3868
Stack trace: 0 /home/xxx/public_html/wp-includes/class-wpdb.php(3868): mysqli_num_fields() 1 /home/xxx/public_html/wp-includes/class-wpdb.php(780): wpdb->load_col_info() 2 /home/xxx/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(218): wpdb->__get() 3 /home/xxx/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(122): W3TC\DbCache_WpdbInjection_QueryCaching->query() 4 /home/xxx/public_html/wp-includes/class-wpdb.php(3065): W3TC\DbCache_WpdbNew->query() 5 /home/xxx/public_html/wp-content/plugins/pretty-link/app/models/PrliLink.php(261): wpdb->get_row() 6 /home/xxx/public_html/wp-content/plugins/pretty-link/app/models/PrliLink.php(195): PrliLink->get_one_by() 7 /home/xxx/public_html/wp-content/plugins/pretty-link/app/models/PrliLink.php(324): PrliLink->getOneFromSlug() 8 /home/xxx/public_html/wp-content/plugins/pretty-link/app/models/PrliLink.php(315): PrliLink->is_pretty_link_slug() 9 /home/xxx/public_html/wp-content/plugins/pretty-link/app/controllers/PrliAppController.php(688): PrliLink->is_pretty_link() 10 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): PrliAppController->redirect() 11 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 13 /home/xxx/public_html/wp-settings.php(695): do_action() 14 /home/xxx/public_html/wp-config.php(109): require_once(‘/home/xxx/…’) 15 /home/xxx/public_html/wp-load.php(50): require_once(‘/home/xxx/…’) 16 /home/xxx/public_html/wp-blog-header.php(13): require_once(‘/home/xxx/…’) 17 /home/xxx/public_html/index.php(17): require(‘/home/xxx/…’) 18 {main}
- You must be logged in to reply to this topic.