( ! ) Fatal error: Uncaught mysqli_sql_exception: 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 '?' at line 1 in /var/www/html/src/core/classes/DB.php on line 121
( ! ) mysqli_sql_exception: 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 '?' at line 1 in /var/www/html/src/core/classes/DB.php on line 121
Call Stack
#TimeMemoryFunctionLocation
10.0001462952{main}( ).../index.php:0
20.0001463760include( '/var/www/html/src/core/bootstrap.php ).../index.php:13
30.0017703840Gila\Router::run( $_p = ??? ).../bootstrap.php:132
40.0019705536call_user_func_array:{/var/www/html/src/core/classes/Router.php:79}( $callback = [0 => class blog\controllers\BlogController { }, 1 => 'category_GET'], $args = [0 => 'uncategorized'] ).../Router.php:79
50.0019705704blog\controllers\BlogController->category_GET( $category = 'uncategorized' ).../Router.php:79
60.0030731360Gila\DB::value( $q = 'SELECT title from postcategory WHERE id=?', $p = NULL ).../BlogController.php:169
70.0030731360Gila\DB::getOne( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ).../DB.php:259
80.0030731360Gila\DB::get( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ).../DB.php:183
90.0030731360Gila\DB::query( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ).../DB.php:171
100.0033773096query( $query = 'SELECT title from postcategory WHERE id=?' ).../DB.php:121