( ! ) Notice: Function wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (2) for the number of arguments passed (1). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /home/cwdev/public_html/wp-includes/functions.php on line 6121 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 432824 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 434312 | require( '/home/cwdev/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 1.7116 | 169392288 | require_once( '/home/cwdev/public_html/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 1.7129 | 169416672 | include( '/home/cwdev/public_html/wp-content/themes/thecaglepost/index.php ) | .../template-loader.php:106 |
5 | 1.7564 | 171389720 | get_template_part( $slug = 'page-templates/cartoon-single', $name = ???, $args = ??? ) | .../index.php:116 |
6 | 1.7564 | 171390240 | locate_template( $template_names = [0 => 'page-templates/cartoon-single.php'], $load = TRUE, $load_once = FALSE, $args = [] ) | .../general-template.php:206 |
7 | 1.7564 | 171390368 | load_template( $_template_file = '/home/cwdev/public_html/wp-content/themes/thecaglepost/page-templates/cartoon-single.php', $load_once = FALSE, $args = [] ) | .../template.php:745 |
8 | 1.7565 | 171392192 | require( '/home/cwdev/public_html/wp-content/themes/thecaglepost/page-templates/cartoon-single.php ) | .../template.php:812 |
9 | 1.7619 | 172186608 | CCI_Cartoon_View->the_page( ) | .../cartoon-single.php:6 |
10 | 1.7644 | 172191736 | CCI_Cartoon_View->similar_cartoons( $a = ['title' => 'My Related Cartoons', 'artist_id' => 10, 'limit' => 4, 'show_author' => FALSE] ) | .../class-cci-cartoon-view.php:3139 |
11 | 1.7644 | 172192112 | CCI_Search::get_similar( $a = ['artist_id' => 10, 'keywords' => 'teacher, test, Ben, Hawaii, salary, proposal, Board, Certified, pay, wages, lower, Cayetano, governor, national, teacher, salary, Los Angeles, $5000, bonus, &10000, 15% salary, $20000, teaching, low, performing, higher, start, shortage', 'exclude' => 732, 'limit' => 4, 'exclude_artist_id' => NULL] ) | .../class-cci-cartoon-view.php:3715 |
12 | 1.7645 | 172189504 | wpdb->prepare( $query = 'SELECT t.* \r\n FROM dw_cci_search t\r\n JOIN JSON_TABLE(\r\n TRIM(replace(json_array(\r\n TRIM(replace(replace(t.keywords, \'"\', \'\'), \', \', \',\'))\r\n ), \',\', \'","\')),\r\n \'$[*]\' columns (keywords varchar(255) path \'$\')\r\n ) AS j\r\n WHERE j.keywords IN (\'teacher\',\'test\',\'Ben\',\'Hawaii\',\'salary\',\'proposal\',\'Board\',\'Certified\',\'pay\',\'wages\',\'lower\',\'Cayetano\',\'governor\',\'national\',\'teacher\',\'salary\',\'Los Angeles\',\'$5000\',\'bonus\',\''..., ...$args = variadic([0 => 4]) ) | .../class-cci-search.php:5704 |
13 | 1.7646 | 172193920 | _doing_it_wrong( $function_name = 'wpdb::prepare', $message = 'The query does not contain the correct number of placeholders (2) for the number of arguments passed (1).', $version = '4.8.3' ) | .../class-wpdb.php:1703 |
14 | 1.7647 | 172194752 | wp_trigger_error( $function_name = '', $message = 'Function wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (2) for the number of arguments passed (1). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.)', $error_level = ??? ) | .../functions.php:6061 |
15 | 1.7648 | 172195200 | trigger_error( $message = 'Function wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (2) for the number of arguments passed (1). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.)', $error_level = 1024 ) | .../functions.php:6121 |