( ! ) 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 123 |
( ! ) 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 123 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 463504 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 464312 | include( '/var/www/html/src/core/bootstrap.php ) | .../index.php:17 |
3 | 0.0016 | 704688 | Gila\Router::run( $_p = ??? ) | .../bootstrap.php:132 |
4 | 0.0018 | 706384 | call_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 |
5 | 0.0018 | 706552 | blog\controllers\BlogController->category_GET( $category = 'uncategorized' ) | .../Router.php:79 |
6 | 0.0029 | 732208 | Gila\DB::value( $q = 'SELECT title from postcategory WHERE id=?', $p = NULL ) | .../BlogController.php:169 |
7 | 0.0029 | 732208 | Gila\DB::getOne( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ) | .../DB.php:261 |
8 | 0.0029 | 732208 | Gila\DB::get( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ) | .../DB.php:185 |
9 | 0.0029 | 732208 | Gila\DB::query( $q = 'SELECT title from postcategory WHERE id=?', $args = NULL ) | .../DB.php:173 |
10 | 0.0032 | 773944 | query( $query = 'SELECT title from postcategory WHERE id=?' ) | .../DB.php:123 |