Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, bool given in /var/www/html/wp-includes/class-wpdb.php:3876 Stack trace: #0 /var/www/html/wp-includes/class-wpdb.php(3876): mysqli_num_fields(false) #1 /var/www/html/wp-includes/class-wpdb.php(785): wpdb->load_col_info() #2 /var/www/html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(230): wpdb->__get('col_info') #3 /var/www/html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(216): W3TC\DbCache_WpdbInjection_QueryCaching->query('SELECT COUNT(*)...') #4 /var/www/html/wp-includes/class-wpdb.php(3041): W3TC\DbCache_WpdbNew->query('SELECT COUNT(*)...') #5 /var/www/html/wp-content/plugins/wordfence/lib/wfLog.php(50): wpdb->get_var('SELECT COUNT(*)...') #6 /var/www/html/wp-content/plugins/wordfence/lib/wfLog.php(137): wfLog::isHumanRequest('216.73.216.31', 'Mozilla/5.0 App...') #7 /var/www/html/wp-includes/class-wp-hook.php(341): wfLog->actionSetRequestJSEnabled('') #8 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #9 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #10 /var/www/html/wp-settings.php(764): do_action('wp_loaded') #11 /var/www/html/wp-config.php(136): require_once('/var/www/html/w...') #12 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...') #13 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...') #14 /var/www/html/index.php(17): require('/var/www/html/w...') #15 {main} thrown in /var/www/html/wp-includes/class-wpdb.php on line 3876 Fatal error: Uncaught wfWAFStorageFileException: Unable to save temporary file for atomic writing. in /var/www/html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:34 Stack trace: #0 /var/www/html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(658): wfWAFStorageFile::atomicFilePutContents('/var/www/html/w...', 'saveConfig('livewaf') #2 {main} thrown in /var/www/html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 34