( ! ) 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 'WHERE (.status = 1) AND (.type in ('image')) AND (.vid in ('1')) ORDER BY ...' at line 4 in /var/www/drupal6/includes/database.mysqli.inc on line 114
( ! ) 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 'WHERE (.status = 1) AND (.type in ('image')) AND (.vid in ('1')) ORDER BY ...' at line 4 in /var/www/drupal6/includes/database.mysqli.inc on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0000465976{main}( ).../index.php:0
20.0027674616menu_execute_active_handler( $path = ??? ).../index.php:17
30.0029678280page_manager_page_execute( $subtask_id = 'home_page' ).../menu.inc:350
40.00391385560ctools_context_handler_render( $task = ['title' => 'Custom pages', 'description' => 'Administrator created pages that have a URL path, access control and entries in the Drupal menu system.', 'non-exportable' => TRUE, 'subtasks' => TRUE, 'subtask callback' => 'page_manager_page_subtask', 'subtasks callback' => 'page_manager_page_subtasks', 'save subtask callback' => 'page_manager_page_save_subtask', 'hook menu' => ['file' => 'page.admin.inc', 'path' => 'sites/all/modules/ctools/page_manager/plugins/tasks', 'function' => 'page_manager_page_menu'], 'hook theme' => 'page_manager_page_theme', 'task type' => 'page', 'page operations' => [0 => [...]], 'columns' => ['storage' => [...]], 'page type' => 'custom', 'handler type' => 'context', 'get arguments' => ['file' => 'page.admin.inc', 'path' => 'sites/all/modules/ctools/page_manager/plugins/tasks', 'function' => 'page_manager_page_get_arguments'], 'get context placeholders' => 'page_manager_page_get_contexts', 'access restrictions' => 'page_manager_page_access_restrictions', 'uses handlers' => TRUE, 'module' => 'page_manager', 'name' => 'page', 'path' => 'sites/all/modules/ctools/page_manager/plugins/tasks', 'file' => 'page.inc', 'plugin module' => 'page_manager', 'plugin type' => 'tasks'], $subtask = ['name' => 'home_page', 'admin title' => 'Home page', 'admin description' => '', 'admin summary' => 'page_manager_page_admin_summary', 'admin path' => 'home', 'admin type' => 'Custom', 'subtask' => class stdClass { public $pid = '1'; public $name = 'home_page'; public $task = 'page'; public $admin_title = 'Home page'; public $admin_description = ''; public $path = 'home'; public $access = [...]; public $menu = [...]; public $arguments = [...]; public $conf = [...]; public $table = 'page_manager_pages'; public $type = 'Normal'; public $export_type = 1 }, 'operations' => ['settings' => [...], 'actions' => [...]], 'operations include' => ['file' => 'page.admin.inc', 'path' => 'sites/all/modules/ctools/page_manager/plugins/tasks'], 'single task' => TRUE, 'row class' => 'page-manager-enabled', 'storage' => 'Normal', 'disabled' => FALSE, 'enable callback' => 'page_manager_page_enable'], $contexts = [], $args = [], $page = ??? ).../page.inc:333
50.00431409688panels_panel_context_render( $handler = class stdClass { public $did = '1'; public $name = 'page_home_page_panel_context'; public $task = 'page'; public $subtask = 'home_page'; public $handler = 'panel_context'; public $weight = '0'; public $conf = ['title' => 'Panel', 'no_blocks' => FALSE, 'css_id' => '', 'css' => '', 'contexts' => [...], 'relationships' => [...], 'did' => '1', 'display' => class panels_display { ... }, 'pipeline' => 'standard']; public $table = 'page_manager_handlers'; public $type = 'Normal'; public $export_type = 1 }, $base_contexts = [], $args = [], $test = ??? ).../context-task-handler.inc:45
60.00501452832panels_render_display( $display = class panels_display { public $args = []; public $content = [1 => class stdClass { ... }, 3 => class stdClass { ... }, 2 => class stdClass { ... }]; public $panels = ['content' => [...], 'left_column' => [...], 'right_column' => [...]]; public $incoming_content = NULL; public $css_id = ''; public $context = []; public $did = '1'; public $renderer = NULL; public $layout = 'flexible'; public $layout_settings = ['items' => [...]]; public $panel_settings = ['style_settings' => [...]]; public $cache = []; public $title = ''; public $hide_title = '0'; public $title_pane = '0'; public $cache_key = 'panel_context:page-home_page:page_home_page_panel_context' }, $renderer = class panels_renderer_standard { public $display = class panels_display { public $args = [...]; public $content = [...]; public $panels = [...]; public $incoming_content = NULL; public $css_id = ''; public $context = [...]; public $did = '1'; public $renderer = NULL; public $layout = 'flexible'; public $layout_settings = [...]; public $panel_settings = [...]; public $cache = [...]; public $title = ''; public $hide_title = '0'; public $title_pane = '0'; public $cache_key = 'panel_context:page-home_page:page_home_page_panel_context' }; public $plugins = ['layout' => [...]]; public $rendered = ['panes' => [...]]; public $prepared = ['panes' => [...], 'regions' => [...]]; public $prep_run = TRUE; public $plugin = ['handler' => [...], 'module' => 'panels', 'name' => 'standard', 'path' => 'sites/all/modules/panels/plugins/display_renderers', 'file' => 'standard.inc', 'plugin module' => 'panels', 'plugin type' => 'display_renderers']; public $admin = FALSE; public $meta_location = 'standard'; public $prefix = ''; public $suffix = '' } ).../panel_context.inc:290
70.00501452832panels_display->render( $renderer = class panels_renderer_standard { public $display = class panels_display { public $args = [...]; public $content = [...]; public $panels = [...]; public $incoming_content = NULL; public $css_id = ''; public $context = [...]; public $did = '1'; public $renderer = NULL; public $layout = 'flexible'; public $layout_settings = [...]; public $panel_settings = [...]; public $cache = [...]; public $title = ''; public $hide_title = '0'; public $title_pane = '0'; public $cache_key = 'panel_context:page-home_page:page_home_page_panel_context' }; public $plugins = ['layout' => [...]]; public $rendered = ['panes' => [...]]; public $prepared = ['panes' => [...], 'regions' => [...]]; public $prep_run = TRUE; public $plugin = ['handler' => [...], 'module' => 'panels', 'name' => 'standard', 'path' => 'sites/all/modules/panels/plugins/display_renderers', 'file' => 'standard.inc', 'plugin module' => 'panels', 'plugin type' => 'display_renderers']; public $admin = FALSE; public $meta_location = 'standard'; public $prefix = ''; public $suffix = '' } ).../panels.module:1028
80.00501452832panels_renderer_standard->render( ).../panels.module:703
90.00552115016panels_renderer_standard->render_layout( ).../panels_renderer_standard.class.php:346
100.00592178208panels_renderer_standard->render_panes( ).../panels_renderer_standard.class.php:375
110.00782335120panels_renderer_standard->render_pane( $pane = class stdClass { public $pid = '3'; public $did = '1'; public $panel = 'left_column'; public $type = 'views'; public $subtype = 'random_photo'; public $shown = TRUE; public $access = []; public $configuration = ['override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '3', 'pager_id' => '', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'override_title' => 0, 'override_title_text' => '']; public $cache = []; public $style = ['settings' => NULL]; public $css = []; public $extras = []; public $position = '0' } ).../panels_renderer_standard.class.php:462
120.00782335120panels_renderer_standard->render_pane_content( $pane = class stdClass { public $pid = '3'; public $did = '1'; public $panel = 'left_column'; public $type = 'views'; public $subtype = 'random_photo'; public $shown = TRUE; public $access = []; public $configuration = ['override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '3', 'pager_id' => '', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'override_title' => 0, 'override_title_text' => '']; public $cache = []; public $style = ['settings' => NULL]; public $css = []; public $extras = []; public $position = '0' } ).../panels_renderer_standard.class.php:481
130.00782335120ctools_content_render( $type = 'views', $subtype = 'random_photo', $conf = ['override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '3', 'pager_id' => '', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'override_title' => 0, 'override_title_text' => ''], $keywords = [], $args = [], $context = [], $incoming_content = ??? ).../panels_renderer_standard.class.php:543
140.00792340296views_content_views_content_type_render( $subtype = 'random_photo', $conf = ['override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '3', 'pager_id' => '', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'override_title' => 0, 'override_title_text' => ''], $panel_args = [], $contexts = [], '' ).../content.inc:290
150.01022696624view->preview( $display_id = ???, $args = ??? ).../views.inc:209
160.01022697624views_plugin_display->preview( ).../view.inc:987
170.01022697624view->render( $display_id = ??? ).../views_plugin_display.inc:1883
180.01022697624view->execute( $display_id = NULL ).../view.inc:848
190.01443137656db_query_range( $query = 'SELECT title,\n RAND() AS _random\n FROM {} \n WHERE (.status = 1) AND (.type in (\'%s\')) AND (.vid in (\'%s\'))\n ORDER BY _random ASC\n', [0 => 'image', 1 => '1'], 0, 3 ).../view.inc:807
200.01443137880_db_query( $query = 'SELECT title,\n RAND() AS _random\n FROM \n WHERE (.status = 1) AND (.type in (\'image\')) AND (.vid in (\'1\'))\n ORDER BY _random ASC\n LIMIT 0, 3', $debug = ??? ).../database.mysqli.inc:250
210.01443137880mysqli_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 = 'SELECT title,\n RAND() AS _random\n FROM \n WHERE (.status = 1) AND (.type in (\'image\')) AND (.vid in (\'1\'))\n ORDER BY _random ASC\n LIMIT 0, 3' ).../database.mysqli.inc:114