• Hi, please can someone help with this, I have searced high and low for an answer that makes sense but cant seem to find one..

    Anyway, I keep getting this when going onto the points page..
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/brazz/public_html/wp-content/plugins/cubepoints-buddypress-integration/includes/templates/cubepoint/points.php on line 30 and defined in /home/brazz/public_html/wp-includes/wp-db.php on line 992

    I am a total noob when it comes to coding so if someone could say what line(s) need replaced then provide something for me to copy & paste that would be awesome.

    Thanks in advance.

    https://wordpress.org/plugins/cubepoints/

Viewing 4 replies - 1 through 4 (of 4 total)
  • This explains what the error message is about: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    This may help explain why the plugin is giving the error message:

    CubePoints
    Compatible up to: 3.4.2
    Last Updated: 2012-11-20
    
    CubePoints Buddypress Integration:
    Compatible up to: 3.4.2
    Last Updated: 2012-9-14
    Thread Starter sicky_brazz

    (@sicky_brazz)

    Yeah, I have seen that link a million times… Tried putting that line of code in and messed everything up and so took it out again.. Maybe it wasn’t in the right place.. Who knows.. To me, it doesn’t explain where to put it properly.

    All’s I want to know is if this can actually be fixed, if so, where the file is located, what code needs changed/added/removed/replaced and on what lines etc.

    Cheers.

    Thread Starter sicky_brazz

    (@sicky_brazz)

    Well, I solved the warning on the “points” page by just ridding of the page completely but I am also getting these warnings when I send a friend request…

    Warning: Creating default object from empty value in /home/brazz/public_html/wp-content/plugins/welcome-pack/welcome-pack.php on line 803

    Warning: Creating default object from empty value in /home/brazz/public_html/wp-content/plugins/welcome-pack/welcome-pack.php on line 804

    Warning: Creating default object from empty value in /home/brazz/public_html/wp-content/plugins/welcome-pack/welcome-pack.php on line 805

    Any Idea on these anyone?

    if you pull up welcome-pack.php, the public function email_load_emails( $subject ) is what is causing the problem. the variable $bp is already being used and doesn’t want to be played with. Just change every $bp in there to something unique, like $bpwp

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning Error…’ is closed to new replies.