( ! ) 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 | 463344 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 464152 | include( '/var/www/html/src/core/bootstrap.php ) | .../index.php:12 |
3 | 0.0046 | 701640 | Gila\Router::run( $_p = ??? ) | .../bootstrap.php:113 |
4 | 0.0046 | 701704 | 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.0047 | 702016 | call_user_func_array:{/var/www/html/src/core/classes/Router.php:284}( $callback = class Closure { }, $args = [0 => '19'] ) | .../Router.php:284 |
6 | 0.0047 | 702184 | {closure:/var/www/html/sites/citizentales.org/log/load.php:261-264}( $id = '19' ) | .../Router.php:284 |
7 | 0.0047 | 702656 | Gila\View::render( $file = 'member.php', $package = 'community' ) | .../load.php:263 |
8 | 0.0153 | 707624 | Gila\View::renderFile( $filename = 'member.php', $package = 'community' ) | .../View.php:245 |
9 | 0.0153 | 707688 | Gila\View::includeFile( $filename = 'member.php', $package = 'community' ) | .../View.php:274 |
10 | 0.0154 | 708096 | include( '/var/www/html/src/community/views/member.php ) | .../View.php:301 |
11 | 0.0205 | 756760 | Gila\Table->getRow( $filters = ['id' => '19', 'active' => 1], $args = ['select' => [0 => 'id', 1 => 'username', 2 => 'about'], 'limit' => FALSE, 'orderby' => ['id' => [...]]] ) | .../member.php:35 |
12 | 0.0205 | 757136 | Gila\Table->getRows( $filters = ['id' => '19', 'active' => 1], $args = ['select' => [0 => 'id', 1 => 'username', 2 => 'about'], 'limit' => 1, 'orderby' => ['id' => [...]]] ) | .../Table.php:830 |
13 | 0.0205 | 757136 | Gila\Table->orderby( $orders = ['id' => [0 => 'ASC']] ) | .../Table.php:839 |
14 | 0.0205 | 757136 | Gila\DB::res( $v = [0 => 'ASC'] ) | .../Table.php:414 |
15 | 0.0208 | 798872 | 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 |