• Resolved Jack

    (@hifriend)


    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}

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

    (@vmarko)

    Hello @hifriend

    Thank you for reaching out and I am happy to help!

     Can you please share which caching method you’re using for DB Caching and please try to disable DB caching in Performance>General settings, save all settings and purge the cache, and let me know if the problem persists.

    Thanks!

    Thread Starter Jack

    (@hifriend)

    Return to normal after turning off MySQL cache.

    i need to turn this feature off permanently?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hifriend

    Thank you for your feedback.
    I would advise leaving this off or if you have the option (check with your hosting provide), install phpredis or phpmemcached and use memory-based caching for DB caching.
    Alternatively, you can try with object Caching, however, I would still advise using memory-based caching like Redis or Memcached in this case.

    Thanks!

    Thread Starter Jack

    (@hifriend)

    WP uses virtual Hosting (Shared Hosting) storage, cannot using memory-based caching like Redis or Memcached.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hifriend

    Thank you for your feedback.
    In this case I would recommed not using DB caching as fetching the data from the databse is most likely faster that fetching it to the disk.
    Thanks!

    Thread Starter Jack

    (@hifriend)

    Thank You So Very Much!…

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hifriend

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

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