<h4>Database ORM Fixes (classes/sdba/sdba.php)</h4><ul><li>Fixed critical SQL bug: <code>increment/decrement</code> methods had WHERE clause before SET clause — corrected to proper <code>UPDATE table SET field = field + num WHERE ...</code></li><li>Added <code>real_escape_string($val ?? '')</code> null guard to prevent TypeError on null values</li><li>Added null coalescing to 6 <code>explode()</code> calls in where_in, where_not_in, and_in, and_not_in, or_in, or_not_in methods</li><li>Migrated hardcoded path to <code>BASEPATH_.'/classes/sdba/sdba_config.php'</code></li></ul>