Fatal error: Uncaught [42000] - SQLSTATE[42000]: Syntax error or access violation: 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 is_stream = 1 AND phpid= NULL' at line 1
trace: #0 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php(1171): RedBeanPHP\Driver\RPDO->runQuery('SELECT id FROM ...', Array)
#1 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php(1211): RedBeanPHP\Driver\RPDO->GetAll('SELECT id FROM ...', Array)
#2 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php(4377): RedBeanPHP\Driver\RPDO->GetOne('SELECT id FROM ...', Array)
#3 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php(12830): RedBeanPHP\Adapter\DBAdapter->getCell('SELECT id FROM ...', Array)
#4 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php(13912): RedBeanPHP\Facade::query('getCell', 'SELECT id FROM ...', Array)
#5 C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\streami in C:\Users\keeppixel\Desktop\OpenServer2\domains\kompot\libs\rb.php on line 834