array(2) { ["CFID"]=> string(5) "44485" ["CATGROUP"]=> string(0) "" } string(95) "SELECT COUNT(DISTINCT p.ID) count_arts FROM webpagecache AS p WHERE 1=1 AND p.ParentID=44485 " string(738) "/* articles_DBGetList() */ SELECT DISTINCT p.ID AS cf_id , p.title , p.Subtitle , p.MetaDescription AS meta_description , p.RelativeURL AS canonical_url , p.RelativeURL AS relative_url , p.PublishStart , p.ListImage_URL AS listimage , p.ListImage_Caption AS listimage_caption , p.ListImage_Credit AS listimage_credit , CASE WHEN i.Width>i.Height THEN '' ELSE 'tall' END AS listimage_orientation , p.Abstract AS art_abs , p.AuthorString AS author , p.AuthorString AS author_list , p.IsPartnerContent , i.Height , i.Width FROM webpagecache AS p LEFT JOIN cmsimages AS i ON p.ListImage_ID=i.ci_cf_id WHERE p.PageTypeID IN (3,4,5,7,8,11,14,15) AND p.ParentID=44485 ORDER BY 0 1 LIMIT 0, 20 "
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1 LIMIT 0, 20' at line 26 in D:\xampp\global\database_support.inc:98 Stack trace: #0 D:\xampp\global\database_support.inc(98): mysqli->query('/* articles_DBG...') #1 D:\xampp\htdocs_dev\fwc\inc\support_ArticleIndex.inc(382): dbQuery('/* articles_DBG...') #2 D:\xampp\htdocs_dev\fwc\inc\support_ArticleIndex.inc(468): articles_DBGetList(Array) #3 D:\xampp\htdocs_dev\fwc\_tpl_surveys_index.php(150): articles_GetList(Array) #4 D:\xampp\htdocs_dev\fwc\__file_sheriff.php(153): require_once('D:\\xampp\\htdocs...') #5 {main} thrown in D:\xampp\global\database_support.inc on line 98