Warning: [mysql error 1064] 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 '))
AND (category_id NOT IN (156,764,773,774,775,776,777,778,779,780,781,782...' at line 5
SELECT DISTINCT(id)
FROM piwilcim_images i
INNER JOIN piwilcim_image_category AS ic ON id = ic.image_id
LEFT JOIN piwilcim_image_tag AS it ON id = it.image_id
WHERE (category_id IN ())
AND (category_id NOT IN (156,764,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,1012,1224,1225,1226,1234,12 in /home/websailo/public_html/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/websailo/public_html/include/dblayer/functions_mysqli.inc.php:908
Stack trace:
#0 /home/websailo/public_html/include/functions.inc.php(1640): query2array('\nSELECT DISTINC...', NULL, 'id')
#1 /home/websailo/public_html/include/functions_search.inc.php(457): array_from_query('\nSELECT DISTINC...', 'id')
#2 /home/websailo/public_html/include/functions_search.inc.php(1696): get_regular_search_results(Array, '')
#3 /home/websailo/public_html/include/section_init.inc.php(364): get_search_results('psk-20240518-Fx...', true)
#4 /home/websailo/public_html/index.php(12): include('/home/websailo/...')
#5 {main}
thrown in /home/websailo/public_html/include/dblayer/functions_mysqli.inc.php on line 908