| ( ! ) Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and map.active
and NOT map.deleted
and map.type = 'pa' at line 25 in C:\wamp64\www\production\lib\databases\mysqli.php on line 52 |
| ( ! ) mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and map.active
and NOT map.deleted
and map.type = 'pa' at line 25 in C:\wamp64\www\production\lib\databases\mysqli.php on line 52 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 430360 | {main}( ) | ...\index.php:0 |
| 2 | 0.0242 | 580712 | require_once( 'C:\wamp64\www\production\modules\public\pages.php ) | ...\index.php:25 |
| 3 | 0.0453 | 584248 | get_uploads( $arr = FALSE ) | ...\pages.php:38 |
| 4 | 0.0453 | 586160 | db_query( $query = '\r\n select \r\n u.id as upl_id\r\n ,u.config_id as config_id\r\n ,u.filename as filename \r\n ,u.title as title \r\n ,u.alt_text as alt_text \r\n ,u.ext as ext \r\n ,u.type as upl_type\r\n ,uc.type AS config_type\r\n from \r\n interactforhealth_live.uploads as u\r\n join \r\n interactforhealth_live.uploads_map as map \r\n on u.id = map.upl_id \r\n and u.active \r\n '..., $description = 'Getting Uploads', $extra = ???, $dbname = ??? ) | ...\pages.php:94 |
| 5 | 0.0453 | 586200 | db_mysqli_query( $query = '\r\n select \r\n u.id as upl_id\r\n ,u.config_id as config_id\r\n ,u.filename as filename \r\n ,u.title as title \r\n ,u.alt_text as alt_text \r\n ,u.ext as ext \r\n ,u.type as upl_type\r\n ,uc.type AS config_type\r\n from \r\n interactforhealth_live.uploads as u\r\n join \r\n interactforhealth_live.uploads_map as map \r\n on u.id = map.upl_id \r\n and u.active \r\n '..., $description = 'Getting Uploads', $extra = '', $dbname = 'default' ) | ...\all_in_one.php:76 |
| 6 | 0.0453 | 586200 | mysqli_query( $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* }, $query = '\r\n select \r\n u.id as upl_id\r\n ,u.config_id as config_id\r\n ,u.filename as filename \r\n ,u.title as title \r\n ,u.alt_text as alt_text \r\n ,u.ext as ext \r\n ,u.type as upl_type\r\n ,uc.type AS config_type\r\n from \r\n interactforhealth_live.uploads as u\r\n join \r\n interactforhealth_live.uploads_map as map \r\n on u.id = map.upl_id \r\n and u.active \r\n '... ) | ...\mysqli.php:52 |