| ( ! ) 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 |
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 465976 | {main}( ) | .../index.php:0 |
| 2 | 0.0027 | 674616 | menu_execute_active_handler( $path = ??? ) | .../index.php:17 |
| 3 | 0.0029 | 678280 | page_manager_page_execute( $subtask_id = 'home_page' ) | .../menu.inc:350 |
| 4 | 0.0039 | 1385560 | ctools_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 |
| 5 | 0.0043 | 1409688 | panels_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 |
| 6 | 0.0050 | 1452832 | panels_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 |
| 7 | 0.0050 | 1452832 | panels_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 |
| 8 | 0.0050 | 1452832 | panels_renderer_standard->render( ) | .../panels.module:703 |
| 9 | 0.0055 | 2115016 | panels_renderer_standard->render_layout( ) | .../panels_renderer_standard.class.php:346 |
| 10 | 0.0059 | 2178208 | panels_renderer_standard->render_panes( ) | .../panels_renderer_standard.class.php:375 |
| 11 | 0.0078 | 2335120 | panels_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 |
| 12 | 0.0078 | 2335120 | panels_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 |
| 13 | 0.0078 | 2335120 | ctools_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 |
| 14 | 0.0079 | 2340296 | views_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 |
| 15 | 0.0102 | 2696624 | view->preview( $display_id = ???, $args = ??? ) | .../views.inc:209 |
| 16 | 0.0102 | 2697624 | views_plugin_display->preview( ) | .../view.inc:987 |
| 17 | 0.0102 | 2697624 | view->render( $display_id = ??? ) | .../views_plugin_display.inc:1883 |
| 18 | 0.0102 | 2697624 | view->execute( $display_id = NULL ) | .../view.inc:848 |
| 19 | 0.0144 | 3137656 | db_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 |
| 20 | 0.0144 | 3137880 | _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 |
| 21 | 0.0144 | 3137880 | 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 = '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 |