For anyone experiencing the error Warning: Missing argument 2 for wpdb::prepare() with Blocks2 on recent versions of wordpress, the easiest solution is to change line 145 of Header.php from
$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970"));
to
$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970", null));
Just thought folks might want to know.
]]>.. as per title.
Would like to place a small logo in the left of the header before the title.
TIA