Create Blogs

create websites and blogs with WordPress and Nucleuscms

Warning: Missing argument 2 for wpdb::prepare()

With all the new database version and WordPress updates, sometimes I get the warning from the footer scripts. This time with the WP 3.6 update. Warning: Missing argument 2 for wpdb::prepare(), called in C:\xampp\htdocs\wp36\wp-content\themes\i2010techs13\footer.php on line 28 and defined in C:\xampp\htdocs\wp36\wp-includes\wp-db.php on line 992 The fix is to add the code to config.php file – anywhere. @ini_set(‘display_errors’, 0);

FancyBox 2

[fancybox2] Now FancyBox v2.1.5 is out, I’m experimenting 2.0.6.1, to me the old 1.3.4 is working quite well, the only thing I like about this FancyBox 2.0.6.1 is the full size image display with the helpers.js which is great. The buttons for gallery are very useful and jquery is the best for all users platforms.