Notice: Undefined offset: 1 in /home/apps/ on line 117

Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND (JSON_CONTAINS(tagi, '1') OR JSON_CONTAINS(tagi, '6') OR JSON_CONTAINS(tagi,' at line 1 in /home/apps/ on line 223

Fatal error: Uncaught Error: Call to a member function fetchColumn() on bool in /home/apps/ Stack trace: #0 /home/apps/ szukaj() #1 /home/apps/ include_once('/home/apps/wcza...') #2 /home/apps/ include_once('/home/apps/wcza...') #3 {main} thrown in /home/apps/ on line 223