PDOException: SQLSTATE[HY093]: Invalid parameter number in /home/yukelon1/domains/yukelong.com/public_html/lib/state/core/connect.php:82 Stack trace: #0 /home/yukelon1/domains/yukelong.com/public_html/lib/state/core/connect.php(82): PDOStatement->execute(Array) #1 /home/yukelon1/domains/yukelong.com/public_html/lib/state/core/page.php(35): query('SELECT `id`,`im...', Array) #2 /home/yukelon1/domains/yukelong.com/public_html/lib/search/head.php(47): page(Array, 'list_search', 12) #3 /home/yukelon1/domains/yukelong.com/public_html/lib/head.php(96): include_once('/home/yukelon1/...') #4 /home/yukelon1/domains/yukelong.com/public_html/main.php(14): include_once('/home/yukelon1/...') #5 /home/yukelon1/domains/yukelong.com/public_html/index.php(35): include('/home/yukelon1/...') #6 {main}
SELECT `id`,`image` AS `img`,`name` AS `title`,`type2` AS `type`,`des`,'chanpin' AS `u1` FROM `product` WHERE `hide`=0 AND (CONCAT_WS(' ',`name`,`name2`,`keyword`,`series`) LIKE ?) UNION SELECT `id`,CONCAT(`fdate`,'/thumb/',`image`) AS `img`,`name` AS `title`,`loca` AS `type`,CONCAT('完工日期:',IFNULL(`fdate`,'未更新'),' / 使用产品:',IFNULL(`product`,'未更新'),'
',IFNULL(`des`,''),'开发公司: ',IFNULL(`builder`,'-')) AS `des`,'gongcheng' AS `u1` FROM `project` WHERE `hide`=0 AND (CONCAT_WS(' ',`name`,`name2`,`product`,`loca`,`builder`,`type`,`type2`,`color`,`fdate`) LIKE ?) UNION SELECT `id`,'' AS `img`,`title`,`type`,`des`,'luntan' AS `u1` FROM `thread` WHERE `hide`=0 AND (CONCAT_WS(' ',`title`,`keyword`) LIKE ?)