• hello
    for some time now our website has been messed up w/ error messages when log onto it and cannot sign into wp to make any changes.

    this is what comes up after logging into sp from the (domain).com/wp-admin

    we really need to get some help w/ this if anyone knows what can or should be done- should we call godaddy and have them disconnect the domain (forwarding or whatever it is called – we have the domain name registered through them) then try to reconnect it?… we can’t get into the dashboard to even try and re install the wordpress theme (assumingly there is a problem w/ the theme that was used ‘canyon’ by web2feel)

    any help would be greatly appreciated – this website has been down now for over a month and we have asked about it here on the forum previously w/ no recommendations or replies.

    thanks!

    regards

    error message after signing into wp:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 176 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-core/bp-core-options.php on line 293 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-login.php on line 368

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-login.php on line 380

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 876

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Shangrala

    (@shangrala)

    any ideas where to start getting this taken care of???

    thanks.

    Yeah, sorry you haven’t been helped earlier. Since this is all volunteer, sometimes, not everyone gets helped :(. First off, do you have a current complete back-up of your site and database? That’s always a good idea before you start trying to fix things like this.

    Thread Starter Shangrala

    (@shangrala)

    Wpyogi
    thank you for the reply!

    well no and i dont know that it would matter because we don’t have any accesss to the dashboard or anything. when the website comes up it shows some obvious error messages even before signing up (very similar messages on the screen as what i posted above) and the content of the website looks messed up in some way. But again we can’t even get signed in to make any corrections or to re install the wp theme we are using.

    Thread Starter Shangrala

    (@shangrala)

    here is the error message that shows up on the actual webpage when someone goes to our domain (this shows up before we even sign in)

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-activity/bp-activity-classes.php on line 219 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-activity/bp-activity-classes.php on line 231 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-activity/bp-activity-classes.php on line 236 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-activity/bp-activity-classes.php on line 250 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-core/bp-core-cache.php on line 105 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    I got that, but we still want to have things backed up “just in case.” These are generally solvable pretty easily, but always good to have a current back-up.

    Thread Starter Shangrala

    (@shangrala)

    any idea how i might be able to get into tha dashboard to make changes ???

    right now the website is literally stuck and there is no way to make changes or anything even if i had a backup. as soon as i log in it shows the error page and nothing else – no other options to make changes etc.

    is there a phone number for WP that i can call to see if someone can help solve this problem?

    thanks.

    regards

    Please don’t be hasty, if you’re not satisfied with the level of support provided by www.ads-software.com forums, consider hiring someone at https://jobs.wordpress.net .

    Thread Starter Shangrala

    (@shangrala)

    hello – actually not being hasty whatsoever (to the comment above at the bottom of my last posting) didn’t mean to come across that way either. I understand this might not be an easy problem to answer but are there any moderators or someone who knows how to troubleshoot these problems well here on the forum? Right now we have a website that is basically stuck – nothing can be done w/ it because can’t even log into the dashboard due to a glitch w/ the error messages showing up above. the only thing i can think of is to have the domain forwarding (or whatever it is the the godaddy does in this process) have them stop the forwarding to the wordpress then set up a new wp account then realign it w/ that new wp account. Of course we would lose all of our content but at this point we are stuck w/ this matter where it is (thanks above for the comment about backing up/saving the content – good point for future reference)

    Regards

    hi , you can do one thing but have backup b4 messing further .
    Access via ftp the /wp-content/plugins/buddypres and remove the buddypress folder and then check . Do sure to backup b4 proceeding

    Thread Starter Shangrala

    (@shangrala)

    Andy2grant
    not sure what you mean by ftp?

    tried to log into wordpress but as soon as enter log in information it goes automatically to this screen showing the following message and there are no further options – ends up being a white screen (not the website) w/ nothing on it but these words. i get that you are suggesting there is perhaps a problem w/ the buddypress plugin that is causing this.

    after i logged in tried to enter the /wp-content/plugins/buddypress but it gave a screen saying 404 page not found.

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 176 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/24/9544924/html/wp-content/plugins/buddypress/bp-core/bp-core-options.php on line 293 and defined in /home/content/24/9544924/html/wp-includes/wp-db.php on line 990

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-login.php on line 368

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-login.php on line 380

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/24/9544924/html/wp-includes/wp-db.php:990) in /home/content/24/9544924/html/wp-includes/pluggable.php on line 876

    Thread Starter Shangrala

    (@shangrala)

    hello
    for future reference for anyone that is dealing w/ this problem see this link

    PHP Warning: Missing argument 2 for wpdb::prepare()

    basically simple fix was to install a ‘patch’ through godaddy (update) and after that was able to log into for the website and the error messages were nolonger visible. the above article mentions that the php error messages need to be shut off also.

    regards

    Andrew Nacin 11:14 pm on December 11, 2012 | Follow
    Tags: 3.5 ( 23 ), 3.5-field-guide ( 6 ), sql, wpdb
    PHP Warning: Missing argument 2 for wpdb::prepare()

    Hello plugin or theme author! You possibly found this post after searching the Internet for the error above: “PHP Warning: Missing argument 2 for wpdb::prepare().”

    So, this is a new warning in 3.5. No sites are broken, everything is fine as before. But, this is indeed something you need to look at, because you may be exposing your users to a possible SQL injection vulnerability. Now that’s no fun!

    First, if you’re a user and you want to get rid of these errors, you should turn off the displaying of errors in PHP. There are many ways to do this, such as in php.ini, .htaccess, etc. For this, you can just put this in wp-config.php. (Note that hiding errors on production sites is good practice anyway.)

    1
    @ini_set(‘display_errors’, 0);
    If you’re a user, you can stop here. (If you need more help, please don’t comment here, try the helpful Support Forums.) Just be sure to send a link to this post to the developer of the theme or plugin referenced in the error.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘cannot log into WP & website showing error messages’ is closed to new replies.