( ! ) Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #2 ($string) must be of type string, array given in /var/www/html/src/core/classes/DB.php on line 135 |
( ! ) TypeError: mysqli_real_escape_string(): Argument #2 ($string) must be of type string, array given in /var/www/html/src/core/classes/DB.php on line 135 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 462800 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 463608 | include( '/var/www/html/src/core/bootstrap.php ) | .../index.php:12 |
3 | 0.0045 | 701096 | Gila\Router::run( $_p = ??? ) | .../bootstrap.php:113 |
4 | 0.0045 | 701160 | Gila\Router::matchRoutes( $routes = [0 => [0 => 'getWebformResponse/(.*)', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 1 => [0 => 'webform/submit', 1 => class Closure { ... }, 2 => 'POST', 3 => NULL], 2 => [0 => 'admin/webforms', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 3 => [0 => 'member/(.*)', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 4 => [0 => 'event_log', 1 => class Closure { ... }, 2 => 'POST', 3 => NULL], 5 => [0 => 'webhook/sendgrid-', 1 => class Closure { ... }, 2 => 'POST', 3 => NULL], 6 => [0 => 'sendgrid-webhook', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 7 => [0 => 'admin-testq', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 8 => [0 => 'blocks/pageUserNew', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL], 9 => [0 => 'blocks/cpos', 1 => class Closure { ... }, 2 => 'POST', 3 => NULL], 10 => [0 => 'webEdit', 1 => class Closure { ... }, 2 => 'GET', 3 => NULL]] ) | .../Router.php:38 |
5 | 0.0045 | 701472 | call_user_func_array:{/var/www/html/src/core/classes/Router.php:284}( $callback = class Closure { }, $args = [0 => '117'] ) | .../Router.php:284 |
6 | 0.0045 | 701640 | {closure:/var/www/html/sites/citizentales.org/log/load.php:261-264}( $id = '117' ) | .../Router.php:284 |
7 | 0.0045 | 702112 | Gila\View::render( $file = 'member.php', $package = 'community' ) | .../load.php:263 |
8 | 0.0151 | 707080 | Gila\View::renderFile( $filename = 'member.php', $package = 'community' ) | .../View.php:245 |
9 | 0.0151 | 707144 | Gila\View::includeFile( $filename = 'member.php', $package = 'community' ) | .../View.php:274 |
10 | 0.0151 | 707552 | include( '/var/www/html/src/community/views/member.php ) | .../View.php:301 |
11 | 0.0190 | 755408 | Gila\Table->getRow( $filters = ['id' => '117', 'active' => 1], $args = ['select' => [0 => 'id', 1 => 'username', 2 => 'about'], 'limit' => FALSE, 'orderby' => ['id' => [...]]] ) | .../member.php:35 |
12 | 0.0190 | 755784 | Gila\Table->getRows( $filters = ['id' => '117', 'active' => 1], $args = ['select' => [0 => 'id', 1 => 'username', 2 => 'about'], 'limit' => 1, 'orderby' => ['id' => [...]]] ) | .../Table.php:828 |
13 | 0.0190 | 755784 | Gila\Table->orderby( $orders = ['id' => [0 => 'ASC']] ) | .../Table.php:837 |
14 | 0.0190 | 755784 | Gila\DB::res( $v = [0 => 'ASC'] ) | .../Table.php:414 |
15 | 0.0192 | 797520 | mysqli_real_escape_string( $mysql = class mysqli { public string|int $affected_rows = *uninitialized*; public string $client_info = *uninitialized*; public int $client_version = *uninitialized*; public int $connect_errno = *uninitialized*; public ?string $connect_error = *uninitialized*; public int $errno = *uninitialized*; public string $error = *uninitialized*; public array $error_list = *uninitialized*; public int $field_count = *uninitialized*; public string $host_info = *uninitialized*; public ?string $info = *uninitialized*; public string|int $insert_id = *uninitialized*; public string $server_info = *uninitialized*; public int $server_version = *uninitialized*; public string $sqlstate = *uninitialized*; public int $protocol_version = *uninitialized*; public int $thread_id = *uninitialized*; public int $warning_count = *uninitialized* }, $string = [0 => 'ASC'] ) | .../DB.php:135 |