[英]PHP scope issue while fixing error in the Flex2 shipping module of Virtuemart 1.1.9 for Joomla 1.5.26
[英]Joomla Version 1.5.26 module php errors
希望有人可以帮忙,
在Joomla网站上的新闻发布部分有问题: http : //buffalowingsandrings.com/#/in-the-news-如果向下滚动,您会看到很多空白字段。 我们只想显示10个新闻故事,我们不确定为什么会出现这些空白新闻。
我没有建立站点,我只能访问并必须为客户修复。
打开错误报告后,我们看到以下错误:
注意:未定义的属性:stdClass :: $在第3行的/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php中创建
注意:第6行的/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php中未定义的属性:stdClass :: $ readmore_link
注意:第9行的/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php中未定义的属性:stdClass :: $ title
注意:尝试在第217行的/home/content/16/11371716/html/components/com_content/views/category/view.html.php中获取非对象的属性
注意:第225行的/home/content/16/11371716/html/components/com_content/views/category/view.html.php中未定义的属性:stdClass :: $ attribs
注意:第23行的/home/content/16/11371716/html/plugins/content/vote.php中未定义的属性:stdClass :: $ id
任何帮助将不胜感激!
我可能猜想那些空块可能来自效率低下的代码,无法查看此菜单项的内容,如介绍项或链接项。
您可以尝试以下方法:
进入菜单管理器,找到此博客页面的菜单项(最新消息),并检查其参数基本部分(在右侧)以设置要显示多少篇文章。
多少前导和介绍文章,多少链接...也许您想将链接设置为0,并尝试对前导/介绍文章的数量进行计数,看看这如何影响前端。
另请注意,更改可能不会在更改后立即显示,因此请在检入前端时清除joomla和浏览器缓存。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.