I’m sorry to add more to the list. Ive read the info and tried to make it right but I just seem to make more errors.
My error message is;
Warning: Missing argument 2 for wpdb::prepare(), called in/wp-content/themes/dt-nimble/functions/core/core-filters.php on line 8 and defined in wp-includes/wp-db.php on line 992
core-filters file reads;
<?php
function dt_core_parents_where_filter( $where ) {
if( function_exists(‘dt_storage’) ) {
global $wpdb;
$param = dt_storage(‘where_filter_param’);
if( $param ) {
$where .= sprintf( ” AND $wpdb->posts.post_parent IN(%s)”, $wpdb->prepare($param) );
}else {
$where .= ‘ AND 1=0’;
}
}
return $where;
}
function dt_core_join_left_filter( $parts ) {
if( isset($parts[‘join’]) && !empty($parts[‘join’]) ) {
$parts[‘join’] = str_replace( ‘INNER’, ‘LEFT’, $parts[‘join’]);
}
return $parts;
}
function dt_core_media_item_remove_insert_button( $args = array() ) {
if( isset($args[‘send’]) )
$args[‘send’] = false;
return $args;
}
function dt_inset_into_post_filter ( $html, $id, $caption, $title, $align, $url ) {
if ( isset( $url ) ) {
$html = str_replace( ‘href=’, ‘class=”highslide” onclick=”return hs.expand(this)” href=’, $html );
}
return $html;
}
//add_filter( ‘image_send_to_editor’, ‘dt_inset_into_post_filter’, 10, 6 );
?>
Is it possible one of you nice people could help me out. I have contacted the theme provider but theyre person is away until th e30th Sep and I dont think I want the message for the world to see for that long.
Many Thanks in advance
Mike B