• Resolved Kenika

    (@kenika)


    Hi,

    I have the following issue: All my not logged in visitors get to see this error message:

    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/7/d249885565/htdocs/XXXXXXXXXX.com/wp-includes/wp-db.php on line 3351

    Logged in users don’t get the error message.

    As soon as I deactivate W3’s database cache, the error message disappears. But hence, I can’t use the database cache anymore.
    Probably important: I recently updated MySQL to the newest version. Hence, my db definitely changed and I’m pretty sure that the issue didn’t happend before the MySQL update.
    Question: I’m a total amateur, so… You can see this number “d249885565” in the error message/link. Is that supposed to be the db number? Because it isn’t. Did that number not update when I created a whole new database? Do I have to/can I fix this manually by just changing the numbers?

    ——-

    I by the way also have a problem with W3’s minifying HTML & XML: That issue happened like two years ago already (circa). As soon as I enable minifying HTML & XML, every single site of my website turns blank. No error message, nothing. There was another thread regarding this issue and I was not the only one. We were told it’ll be fixed in the next version, but until today: no chance on activating this.

    I also read the very same about my newest database cache issue: “Will be fixed in the next version.”
    So I hope there’s a solution for it. Other than that, I’m very happy with this amazing plugin. Thanks in advance. Stay healthy and have a nice day.

    • This topic was modified 4 years, 5 months ago by Kenika.

    The page I need help with: [log in to see the link]

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

    (@vmarko)

    Hello @kenika

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Have you tried purging DB cache once updated MySQL?
    Also if I am not mistaking you are on shared hosting? Also, I can see that you are also using Object Cache, and using both Object and DB cache is not recommended especially on a shared server.
    As for the HTML issue, this must be an environmental issue, meaning the issue occurs on specific environments and installations.
    For example, HTML minify removes quotes and The HTML is valid and this feature makes page load even smaller, so faster and better for mobile visitors. Not all quotes are removed as HTML requires quotes when there’s a space in the value. But is some cases, depending on the theme or plugins those quotes when removed may cause an issue and we are aware of that.
    Thanks!

    Thread Starter Kenika

    (@kenika)

    Thanks a lot for your very valuable answer. I appreciate it!

    Have you tried purging DB cache once updated MySQL?

    Yes, I did.

    using both Object and DB cache is not recommended especially on a shared server.

    Alright. Yes, I used both simoultaneously. Now, I deactivated database cache.

    But is some cases, depending on the theme or plugins those quotes when removed may cause an issue and we are aware of that.

    That means that there’s going to be a fix in a future update?

    Thanks again!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @kenika

    Thank you for the information.
    There is an open issue regarding the HTML minify in our Github repository.
    Please make sure to follow the progress of the issue regularly and/or add a comment on it.
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with wp-db.php’ is closed to new replies.