Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1414701

    oga23
    Participant

    Hi, i get that strange warning all across my site except the home page:

    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /…/public_html/wp-includes/wp-db.php on line 3091

    To be it even worse it is at the top of the page.
    From what i read it is caused by w3 total cache and they aren’t responding about it. The strange thing is, on my staging site is working fine. I migrated that site to main domain, would you please take a look and advise me, what to do?
    main site: https://mojzastopnik.si
    staging site: https://beta.mojzastopnik.si

    thanks

    #1414902

    Darshana
    Moderator

    Hi there,

    Thanks for writing in! For the moment, try disabling your database cache and see if that works for you. Then you can try purging all of your current cache and try enabling it again.

    Hope that helps.

    #1415310

    oga23
    Participant

    Hi,
    Yes, it is working know. And i always wanted to ask – what means purging cache?
    And today i ran into a new – and this time a big one – problem.
    I got hacked.
    When you visit my site and click on an icon an add opens in a new tab. Now, how do we get rid of that?
    Please help.
    And for the future – how do i protect my site? What would you suggest? I have akismet and bulletproof security installed, i run on https…what else can i do?
    Any ideas for buddypress registration?

    Thank you.

    #1415970

    Lely
    Moderator

    Hi There,

    Purging cache means deleting cache so your site will generate a new cache content using the updated code/content.

    Please check the following link:
    https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/
    http://www.wpbeginner.com/beginners-guide/beginners-step-step-guide-fixing-hacked-wordpress-site/
    https://www.codeinwp.com/blog/secure-your-wordpress-website/

    Can you clarify what you need on buddypress registration?

    #1416504

    oga23
    Participant

    thanks for the links and the explanation!
    I deleted w3 total cache for now.

    i would like to that add some sort of securtity to buddypress registraion in the form of captcha, honeypot.something like that.

    #1417225

    Rad
    Moderator

    Hi there,

    You may try this plugin https://wordpress.org/plugins/buddypress-captcha/

    It’s not from us so please use it with caution 🙂

    Thanks!