Notice (8): Undefined offset: 0 [APP/tmp/smarty/compile/%%67^679^67992560%%related.html.php, line 5]Code |
Context<?php if (isset ( $this->_tpl_vars['posts'] )): ?>
<?php $this->assign("related",$this->_tpl_vars["view"]->requestAction("/subthreads/getRelated/".$this->_tpl_vars["posts"][0]["uid"])); ?>
$this = Smarty
Smarty::$template_dir = "/is/htdocs/wp1153524_MZJ6UO5MXP/www/www.lachzentrale.de/cake/app/views//"
Smarty::$compile_dir = "/is/htdocs/wp1153524_MZJ6UO5MXP/www/www.lachzentrale.de/cake/app/tmp/smarty/compile/"
Smarty::$config_dir = "config"
Smarty::$plugins_dir = array
Smarty::$debugging = false
Smarty::$error_reporting = NULL
Smarty::$debug_tpl = ""
Smarty::$debugging_ctrl = "NONE"
Smarty::$compile_check = true
Smarty::$force_compile = true
Smarty::$caching = 0
Smarty::$cache_dir = "/is/htdocs/wp1153524_MZJ6UO5MXP/www/www.lachzentrale.de/cake/app/tmp/smarty/cache/"
Smarty::$cache_lifetime = 3600
Smarty::$cache_modified_check = false
Smarty::$php_handling = 0
Smarty::$security = false
Smarty::$secure_dir = array
Smarty::$security_settings = array
Smarty::$trusted_dir = array
Smarty::$left_delimiter = "{"
Smarty::$right_delimiter = "}"
Smarty::$request_vars_order = "EGPCS"
Smarty::$request_use_auto_globals = true
Smarty::$compile_id = NULL
Smarty::$use_sub_dirs = false
Smarty::$default_modifiers = array
Smarty::$default_resource_type = "file"
Smarty::$cache_handler_func = NULL
Smarty::$autoload_filters = array
Smarty::$config_overwrite = true
Smarty::$config_booleanize = true
Smarty::$config_read_hidden = false
Smarty::$config_fix_newlines = true
Smarty::$default_template_handler_func = ""
Smarty::$compiler_file = "Smarty_Compiler.class.php"
Smarty::$compiler_class = "Smarty_Compiler"
Smarty::$config_class = "Config_File"
Smarty::$_tpl_vars = array
Smarty::$_smarty_vars = NULL
Smarty::$_sections = array
Smarty::$_foreach = array
Smarty::$_tag_stack = array
Smarty::$_conf_obj = NULL
Smarty::$_config = array
Smarty::$_smarty_md5 = "f8d698aea36fcbead2b9d5359ffca76f"
Smarty::$_version = "2.6.26"
Smarty::$_inclusion_depth = 0
Smarty::$_compile_id = NULL
Smarty::$_smarty_debug_id = "SMARTY_DEBUG"
Smarty::$_smarty_debug_info = array
Smarty::$_cache_info = array
Smarty::$_file_perms = 420
Smarty::$_dir_perms = 505
Smarty::$_reg_objects = array
Smarty::$_plugins = array
Smarty::$_cache_serials = array
Smarty::$_cache_include = NULL
Smarty::$_cache_including = false
Smarty::$cache = false
Smarty::$_cache_include_info = NULL
$resource_name = "/is/htdocs/wp1153524_MZJ6UO5MXP/www/www.lachzentrale.de/cake/app/views/elements/related.html"
$cache_id = null
$compile_id = null
$display = false
$_cache_info = array()
$_smarty_old_error_level = 6135
$_smarty_compile_path = "/is/htdocs/wp1153524_MZJ6UO5MXP/www/www.lachzentrale.de/cake/app/tmp/smarty/compile//%%67^679^67992560%%related.html.php"
$_cache_including = falseinclude - APP/tmp/smarty/compile/%%67^679^67992560%%related.html.php, line 5
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/tmp/smarty/compile/%%BC^BC4^BC4ACA75%%default.html.php, line 58
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::renderLayout() - CORE/cake/libs/view/view.php, line 482
View::render() - CORE/cake/libs/view/view.php, line 428
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): Missing argument 1 for SubthreadsController::getRelated() [APP/controllers/subthreads_controller.php, line 27]Code $this->set('pager', $pager);
}
function getRelated($id){
SubthreadsController::getRelated() - APP/controllers/subthreads_controller.php, line 27
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/tmp/smarty/compile/%%67^679^67992560%%related.html.php, line 5
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/tmp/smarty/compile/%%BC^BC4^BC4ACA75%%default.html.php, line 58
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::renderLayout() - CORE/cake/libs/view/view.php, line 482
View::render() - CORE/cake/libs/view/view.php, line 428
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined variable: id [APP/controllers/subthreads_controller.php, line 28]Code }
function getRelated($id){
return $this->Subthread->getRelated($id);
SubthreadsController::getRelated() - APP/controllers/subthreads_controller.php, line 28
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/tmp/smarty/compile/%%67^679^67992560%%related.html.php, line 5
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/tmp/smarty/compile/%%BC^BC4^BC4ACA75%%default.html.php, line 58
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::renderLayout() - CORE/cake/libs/view/view.php, line 482
View::render() - CORE/cake/libs/view/view.php, line 428
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (512): SQL Error: 1064: 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 '' at line 3 [CORE/cake/libs/model/datasources/dbo_source.php, line 666]Code |
Context $out = null;
if ($error) {
trigger_error('<span style="color:Red;text-align:left"><b>' . __('SQL Error:', true) . "</b> {$this->error}</span>", E_USER_WARNING);
$sql = "SELECT wp_term_taxonomy.* FROM wp_term_taxonomy
INNER JOIN wp_term_relationships ON wp_term_relationships.term_taxonomy_id=wp_term_taxonomy.term_taxonomy_id
WHERE wp_term_taxonomy.taxonomy='category' AND wp_term_relationships.object_id="
$error = "1064: 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 '' at line 3"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 666
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 256
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 400
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 277
Model::query() - CORE/cake/libs/model/model.php, line 2420
Subthread::getRelated() - APP/models/subthread.php, line 63
SubthreadsController::getRelated() - APP/controllers/subthreads_controller.php, line 28
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/tmp/smarty/compile/%%67^679^67992560%%related.html.php, line 5
Smarty::fetch() - APP/vendors/smarty/Smarty.class.php, line 1263
SmartyView::_render() - APP/views/smarty.php, line 120
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/tmp/smarty/compile/%%BC^BC4^BC4ACA75%%default.html.php, line 58
Query: SELECT wp_term_taxonomy.* FROM wp_term_taxonomy
INNER JOIN wp_term_relationships ON wp_term_relationships.term_taxonomy_id=wp_term_taxonomy.term_taxonomy_id
WHERE wp_term_taxonomy.taxonomy='category' AND wp_term_relationships.object_id=