Error: Missing argument 2 for wpdb::prepare
I’m getting a strange error while the code seem to be working fine.
” Missing argument 2 for wpdb::prepare() “
I’ve got Debug mode turned on in the config.php file and when I switch this mode off the error is gone but and everything is just working fine but I would like to know how bad this is.
The errors shows up when I was testing this.
<?php if ( bp_has_profile( array ( 'exclude_fields' => 15, 'exclude_groups' => 2 ) ) ) : ?>
You must be logged in to reply to this topic.