My ClassiPress is 3.1.4 and WordPress 3.6.1 ….
Try switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.
I’m sorry but as Classipress is a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.
Can you post the code that is here /includes/theme-functions.php on line 415?
The theme probably needs updating.
wpdb::prepare() requires a minimum of 2 arguments as of WordPress 3.5. wpdb::prepare() now uses parameterized queries, so a second argument is required (in pre-WordPress 3.5 wpdb:prepare() only required one argument).
Cara
/includes / theme-functions.php on line 415
there is
$sql = $wpdb->prepare(“SELECT* FROM ID=%field_label,$field_label ID=%field_name ID=%field_type,$field_type FROM “. $wpdb->prefix . “cp_ad_fields”);
if need to update my ClassiPress?
Try this $sql = “SELECT* FROM ID=%field_label,$field_label ID=%field_name ID=%field_type,$field_type FROM “. $wpdb->prefix . “cp_ad_fields”;
Bloke insert gave error on the page, then put
$ sql = $ wpdb-> prepare (“SELECT * FROM ID =% FIELD_LABEL, $ field_name FIELD_LABEL ID =% ID% = field_type, $ field_type FROM”. $ wpdb-> prefix. “Cp_ad_fields”);
and continued with the same error …