object(PDOException)#7 (8) { ["message":protected]=> string(96) "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '408317' for key 'PRIMARY'" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "23000" ["file":protected]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line":protected]=> int(66) ["trace":"Exception":private]=> array(3) { [0]=> array(6) { ["file"]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line"]=> int(66) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line"]=> int(269) ["function"]=> string(11) "singleQuery" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(108) "INSERT INTO tbl_page_log (plog_page) SELECT page_id FROM tbl_pages WHERE page_code = :page_code;" } } [2]=> array(6) { ["file"]=> string(34) "/home/lrynet/public_html/index.php" ["line"]=> int(44) ["function"]=> string(11) "recordClick" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(5) "event" } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "23000" [1]=> int(1062) [2]=> string(42) "Duplicate entry '408317' for key 'PRIMARY'" } } Array ( [0] => 00000 [1] => [2] => ) object(PDOException)#7 (8) { ["message":protected]=> string(68) "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "HY093" ["file":protected]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line":protected]=> int(61) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line"]=> int(61) ["function"]=> string(9) "bindValue" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(10) ":page_code" [1]=> string(5) "event" [2]=> int(2) } } [1]=> array(6) { ["file"]=> string(46) "/home/lrynet/public_html/includes/db_class.php" ["line"]=> int(1504) ["function"]=> string(11) "singleQuery" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(1107) "SELECT * FROM tbl_events LEFT JOIN tbl_members ON evt_member = mem_id WHERE 1 = 1 AND ( ( ( DATE(evt_start_date) = :evt_date1 OR ( DATE(evt_start_date) < :evt_date2 AND DATE(evt_end_date) >= :evt_date3 ) ) AND evt_frequency = 0 ) OR ( DAYOFWEEK(evt_start_date) = DAYOFWEEK(:evt_date4) AND DATE(evt_start_date) <= :evt_date5 AND DATE(evt_end_date) >= :evt_date6 AND evt_frequency = 7 ) OR ( DAYOFWEEK(evt_start_date) = DAYOFWEEK(:evt_date7) AND DATE(evt_start_date) <= :evt_date8 AND DATE(evt_end_date) >= :evt_date9 AND evt_frequency = 14 AND ( DATEDIFF(DATE(evt_start_date),:evt_date10) ) MOD 14 = 0 ) OR ( DAYOFWEEK(evt_start_date) = DAYOFWEEK(:evt_date11) AND CEIL(DAYOFMONTH(evt_start_date)/ 7) = CEIL(DAYOFMONTH(:evt_date12)/ 7) AND DATE(evt_start_date) <= :evt_date13 AND DATE(evt_end_date) >= :evt_date14 AND evt_frequency = 30 ) ) AND evt_code = :evt_code ORDER BY evt_start_date ASC;" } } [2]=> array(6) { ["file"]=> string(44) "/home/lrynet/public_html/templates/event.php" ["line"]=> int(15) ["function"]=> string(21) "getEventByCodeAndDate" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(36) "red_store_bridge_group-11-april-2024" [1]=> string(10) "2024-05-16" } } [3]=> array(4) { ["file"]=> string(34) "/home/lrynet/public_html/index.php" ["line"]=> int(57) ["args"]=> array(1) { [0]=> string(44) "/home/lrynet/public_html/templates/event.php" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(2) { [0]=> string(5) "HY093" [1]=> int(0) } } Array ( [0] => 00000 [1] => [2] => ) Event not found : Lerryn

Sorry, that event cannot be displayed