1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Need help with mysqli_query()

Discussion in 'PHP & Perl' started by LuckyGirl9334, Nov 16, 2018.

  1. LuckyGirl9334

    LuckyGirl9334 Registered Member

    Joined:
    Aug 26, 2018
    Messages:
    99
    Likes Received:
    28
    Gender:
    Female
    Occupation:
    newbie IM/Veteran
    Location:
    Texas and Canada.. I'm Bi-landlocked LOL
    I just uploaded a new plugin to my wordpress site and immediately inside the interface I got this warning:

    Warning: mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

    I have no idea how to fix this. For somebody here it may be simple. Any pointers? Suggestions?

    Thanks in advance.:D
     

    Attached Files:

  2. RSS Spider

    RSS Spider Newbie

    Joined:
    Aug 1, 2013
    Messages:
    3
    Likes Received:
    1
    If you have FTP access into your host go in and remove the plugin you just (well how many days ago now) uploaded. All WordPress plugins resided in

    /your_main_folder/wp-content/pluings/

    Careful with any NULL scripts you might "find" around. Lot of them are bunk.

    Docker is your friend.
     
    • Thanks Thanks x 1
  3. LuckyGirl9334

    LuckyGirl9334 Registered Member

    Joined:
    Aug 26, 2018
    Messages:
    99
    Likes Received:
    28
    Gender:
    Female
    Occupation:
    newbie IM/Veteran
    Location:
    Texas and Canada.. I'm Bi-landlocked LOL
    @RSS Spider hey thanks for getting back to me. I already took it out a few days back because it scared the bejeezus outta me. Appreciate you trying to help.
     
  4. Bob Hensley

    Bob Hensley Newbie

    Joined:
    Nov 26, 2018
    Messages:
    19
    Likes Received:
    5
    Gender:
    Male
    Occupation:
    Full Stack Engineer (Web Developer)
    Was this plugin found in the WordPress Plugins directory? If so, can you check its page in the directory and see what major version it last supported? If it's 5.0+ (or even the high 4.x releases usually), then it's likely a plugin conflict rather than a broken plugin.
     
  5. LuckyGirl9334

    LuckyGirl9334 Registered Member

    Joined:
    Aug 26, 2018
    Messages:
    99
    Likes Received:
    28
    Gender:
    Female
    Occupation:
    newbie IM/Veteran
    Location:
    Texas and Canada.. I'm Bi-landlocked LOL
    Hey thanks for the reply. No it was a paid plugin. I contacted the developer - through his affiliate that I bought it through. He said and I quote'" it's not an issue - it's just a warning."
    I told him it broke my site and asked if he could just check the coding. He told me if I didn't like it don't use it. SMH.

    Thanks for trying to help though, its much appreciated.
     
  6. Bob Hensley

    Bob Hensley Newbie

    Joined:
    Nov 26, 2018
    Messages:
    19
    Likes Received:
    5
    Gender:
    Male
    Occupation:
    Full Stack Engineer (Web Developer)
    That's a shame. For a paid plugin, I'd expect better support. That said, he is right, it is only a warning. I think there's more going on that caused it to break your site. Typically production environments don't display PHP warnings; perhaps talk to your host about this.