Missing argument 2 for wpdb::prepare()
-
Not the first time I’ve seen this, so I thought someone needs to know.
Previous issue with BPS AND AMR-ICAL-LIST. This maybe 2 separate issues.[30-Sep-2013 17:03:08 America/Los_Angeles] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘-1_options WHERE option_name = ‘wp_-1_user_roles’ LIMIT 1′ at line 1 for query SELECT option_value FROM wp_-1_options WHERE option_name = ‘wp_-1_user_roles’ LIMIT 1 made by require_once(‘wp-admin/admin.php’), do_action(‘tools_page_ab-database-peek’), call_user_func_array, ABDatabasePeek->main_page, ABDatabasePeek->list_tables, ABDatabasePeek->get_table_blog_name, get_blog_option, switch_to_blog, WP_Roles->reinit, get_option
[30-Sep-2013 17:03:08 America/Los_Angeles] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘-1_options WHERE option_name = ‘blogname’ LIMIT 1′ at line 1 for query SELECT option_value FROM wp_-1_options WHERE option_name = ‘blogname’ LIMIT 1 made by require_once(‘wp-admin/admin.php’), do_action(‘tools_page_ab-database-peek’), call_user_func_array, ABDatabasePeek->main_page, ABDatabasePeek->list_tables, ABDatabasePeek->get_table_blog_name, get_blog_option, get_option
[30-Sep-2013 17:04:40 America/Los_Angeles] PHP Warning: Missing argument 2 for wpdb::prepare(), called in /public_html/first-blog/wp-content/plugins/database-peek/statistics.php on line 32 and defined in /public_html/first-blog/wp-includes/wp-db.php on line 992
Please advise, thanks
- The topic ‘Missing argument 2 for wpdb::prepare()’ is closed to new replies.