• Resolved renzosm

    (@renzosm)


    Hi, i am getting this error

    PHP Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, false given in /home/1398608.cloudwaysapps.com/dvdtruhzde/public_html/wp-includes/class-wpdb.php:3859\nStack trace:\n#0 /home/1398608.cloudwaysapps.com/dvdtruhzde/public_html/wp-includes/class-wpdb.php(3859): mysqli_num_fields()\n#1 /home/1398608.cloudwaysapps.com/dvdtruhzde/public_html/wp-includes/class-wpdb.php(780): wpdb->load_col_info()\n#2 /home/1398608.cloudwaysapps.com/dvdtruhzde/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(227): wpdb->__get()\n#3 /home/1398608.cloudwaysapps.com/dvdtruhzde/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(122):

    the internal error only fails in my subdomains on my multisite the main domain is good …

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @renzosm

    Thank yo0u for reaching out and I am happy to help!
    Can you pleas confirm if you are using DB Cache on both main domain and the subdomain, and if so ca you please share which cahcing method is used, and if you are using the same configuration for all sites in the multisid environment

    Thanks!

    Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, false given in /home/domains/sustainablemontereycounty.org/public/wp-includes/class-wpdb.php:3859 Stack trace: #0 /home/domains/sustainablemontereycounty.org/public/wp-includes/class-wpdb.php(3859): mysqli_num_fields() #1 /home/domains/sustainablemontereycounty.org/public/wp-includes/class-wpdb.php(780): wpdb->load_col_info() #2 /home/domains/sustainablemontereycounty.org/public/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(226): wpdb->__get() #3 /home/domains/sustainablemontereycounty.org/public/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(122): W3TC\DbCache_WpdbInjection_QueryCaching->query() #4 /home/domains/sustainablemontereycounty.org/public/wp-includes/class-wpdb.php(3142): W3TC\DbCache_WpdbNew->query() #5 /home/domains/sustainablemontereycounty.org/public/wp-content/plugins/insert-php-code-snippet/shortcode-handler.php(12): wpdb->get_results() #6 /home/domains/sustainablemontereycounty.org/public/wp-content/plugins/insert-php-code-snippet/insert-php-code-snippet.php(48): require(‘…’) #7 /home/domains/sustainablemontereycounty.org/public/wp-settings.php(526): include_once(‘…’) #8 /home/domains/sustainablemontereycounty.org/public/wp-config.php(95): require_once(‘…’) #9 /home/domains/sustainablemontereycounty.org/public/wp-load.php(50): require_once(‘…’) #10 /home/domains/sustainablemontereycounty.org/public/wp-blog-header.php(13): require_once(‘…’) #11 /home/domains/sustainablemontereycounty.org/public/index.php(17): require(‘…’) #12 {main} thrown in /home/domains/sustainablemontereycounty.org/public/wp-includes/class-wpdb.php on line 3859

    This is what I get after updating 11 Plug-Ins.

    Tried restoring and then doing 1 Plug-In at a time, validating after clearing cache.

    No problem until I logged out and then got the Fatal Error again.

    ?

    It was the Insert PHP Code Snippet Plug-In that caused the Fatal Error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.