Auteur: 0 contribution(s).
Warning (2): Invalid argument supplied for foreach() [APP/views/static/article.ctp, line 21]Code |
Context <?php
$count = 0;
foreach ($user['Article'] as $a) {
$___viewFn = "/home/users/00/22/c8/home/www/app/views/static/article.ctp"
$___dataForView = array(
"user" => false,
"article" => false,
"lastcomments" => array(
array(),
array(),
array(),
array(),
array()
),
"lastusers" => array(
array(),
array(),
array(),
array(),
array()
),
"lastarticles" => array(
array(),
array(),
array(),
array(),
array()
)
)
$loadHelpers = true
$cached = false
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/static/article/x-.html"
FormHelper::$params = array
FormHelper::$action = "article"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "4d5531fcf1594bd3c115f74171dc4b09"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "low"
SessionHelper::$time = 1781434200
SessionHelper::$sessionTime = 1781470200
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/static/article/x-.html"
SessionHelper::$params = array
SessionHelper::$action = "article"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/static/article/x-.html"
HtmlHelper::$params = array
HtmlHelper::$action = "article"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$document = DocumentHelper
DocumentHelper::$helpers = array
DocumentHelper::$base = ""
DocumentHelper::$webroot = "/"
DocumentHelper::$theme = NULL
DocumentHelper::$here = "/static/article/x-.html"
DocumentHelper::$params = array
DocumentHelper::$action = "article"
DocumentHelper::$plugin = NULL
DocumentHelper::$data = NULL
DocumentHelper::$namedArgs = NULL
DocumentHelper::$argSeparator = NULL
DocumentHelper::$validationErrors = NULL
DocumentHelper::$tags = array
DocumentHelper::$__tainted = NULL
DocumentHelper::$__cleaned = NULL
DocumentHelper::$Geshi = GeshiHelper object
DocumentHelper::$Html = HtmlHelper object
$link = LinkHelper
LinkHelper::$helpers = NULL
LinkHelper::$base = ""
LinkHelper::$webroot = "/"
LinkHelper::$theme = NULL
LinkHelper::$here = "/static/article/x-.html"
LinkHelper::$params = array
LinkHelper::$action = "article"
LinkHelper::$plugin = NULL
LinkHelper::$data = NULL
LinkHelper::$namedArgs = NULL
LinkHelper::$argSeparator = NULL
LinkHelper::$validationErrors = NULL
LinkHelper::$tags = array
LinkHelper::$__tainted = NULL
LinkHelper::$__cleaned = NULL
$geshi = GeshiHelper
GeshiHelper::$helpers = NULL
GeshiHelper::$base = ""
GeshiHelper::$webroot = "/"
GeshiHelper::$theme = NULL
GeshiHelper::$here = "/static/article/x-.html"
GeshiHelper::$params = array
GeshiHelper::$action = "article"
GeshiHelper::$plugin = NULL
GeshiHelper::$data = NULL
GeshiHelper::$namedArgs = NULL
GeshiHelper::$argSeparator = NULL
GeshiHelper::$validationErrors = NULL
GeshiHelper::$tags = array
GeshiHelper::$__tainted = NULL
GeshiHelper::$__cleaned = NULL
$user = false
$article = false
$lastcomments = array(
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
)
)
$lastusers = array(
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
)
)
$lastarticles = array(
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
)
)
$content = ""
$count = 0
include - APP/views/static/article.ctp, line 21
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Comments
Warning (2): Invalid argument supplied for foreach() [APP/views/static/article.ctp, line 34]Code |
Context
<?php
foreach ($article['Comment'] as $comment) {
$___viewFn = "/home/users/00/22/c8/home/www/app/views/static/article.ctp"
$___dataForView = array(
"user" => false,
"article" => false,
"lastcomments" => array(
array(),
array(),
array(),
array(),
array()
),
"lastusers" => array(
array(),
array(),
array(),
array(),
array()
),
"lastarticles" => array(
array(),
array(),
array(),
array(),
array()
)
)
$loadHelpers = true
$cached = false
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/static/article/x-.html"
FormHelper::$params = array
FormHelper::$action = "article"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "4d5531fcf1594bd3c115f74171dc4b09"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "low"
SessionHelper::$time = 1781434200
SessionHelper::$sessionTime = 1781470200
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/static/article/x-.html"
SessionHelper::$params = array
SessionHelper::$action = "article"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/static/article/x-.html"
HtmlHelper::$params = array
HtmlHelper::$action = "article"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$document = DocumentHelper
DocumentHelper::$helpers = array
DocumentHelper::$base = ""
DocumentHelper::$webroot = "/"
DocumentHelper::$theme = NULL
DocumentHelper::$here = "/static/article/x-.html"
DocumentHelper::$params = array
DocumentHelper::$action = "article"
DocumentHelper::$plugin = NULL
DocumentHelper::$data = NULL
DocumentHelper::$namedArgs = NULL
DocumentHelper::$argSeparator = NULL
DocumentHelper::$validationErrors = NULL
DocumentHelper::$tags = array
DocumentHelper::$__tainted = NULL
DocumentHelper::$__cleaned = NULL
DocumentHelper::$Geshi = GeshiHelper object
DocumentHelper::$Html = HtmlHelper object
$link = LinkHelper
LinkHelper::$helpers = NULL
LinkHelper::$base = ""
LinkHelper::$webroot = "/"
LinkHelper::$theme = NULL
LinkHelper::$here = "/static/article/x-.html"
LinkHelper::$params = array
LinkHelper::$action = "article"
LinkHelper::$plugin = NULL
LinkHelper::$data = NULL
LinkHelper::$namedArgs = NULL
LinkHelper::$argSeparator = NULL
LinkHelper::$validationErrors = NULL
LinkHelper::$tags = array
LinkHelper::$__tainted = NULL
LinkHelper::$__cleaned = NULL
$geshi = GeshiHelper
GeshiHelper::$helpers = NULL
GeshiHelper::$base = ""
GeshiHelper::$webroot = "/"
GeshiHelper::$theme = NULL
GeshiHelper::$here = "/static/article/x-.html"
GeshiHelper::$params = array
GeshiHelper::$action = "article"
GeshiHelper::$plugin = NULL
GeshiHelper::$data = NULL
GeshiHelper::$namedArgs = NULL
GeshiHelper::$argSeparator = NULL
GeshiHelper::$validationErrors = NULL
GeshiHelper::$tags = array
GeshiHelper::$__tainted = NULL
GeshiHelper::$__cleaned = NULL
$user = false
$article = false
$lastcomments = array(
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
),
array(
"Comment" => array(),
"Article" => array()
)
)
$lastusers = array(
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
),
array(
"User" => array()
)
)
$lastarticles = array(
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
),
array(
"Article" => array(),
"Comment" => array()
)
)
$content = ""
$count = 0
include - APP/views/static/article.ctp, line 34
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Add a comment