注意:未定义的属性:stdClass :: $ simple_replace

时间:2016-01-12 11:56:34

标签: php joomla properties

注意:未定义属性:stdClass :: $ mind_the_id ...代码在内部表单中,此行上的php代码为:

<?php if (!$this->seolink->mind_the_id) echo ' checked="checked"'; ?>   

再过几行后再注意:未定义的属性:stdClass :: $ simple_replace

<input id="simple_replace0" type="radio" value="0" name="simple_replace"<?php if (!$this->seolink->simple_replace) echo ' checked="checked"'; ?> />

<input id="simple_replace1" type="radio" value="1" name="simple_replace"<?php if ($this->seolink->simple_replace) echo ' checked="checked"'; ?> />    

1 个答案:

答案 0 :(得分:1)

这只是意味着 $ this-&gt; seolink 中的被调用对象没有名称为 mind_the_id simple_replace 的属性。

您的 $ this-&gt; seolink 链接到(空)标准类,而不是具有请求属性的类。

相关问题