Errors
- Posted by lucy webster (5) Offline
- Posted by developtp (1) Offline
Have the same problem:
Notice: Undefined property: stdClass::$thumb in C:\xampp\htdocs\www.liverpooldaysout.co.uk\modules\mod_minifrontpage\themes\default\tmpl\bottom.php on line 79
Everything works fine with the articles that have an image but errors show next to articles without an image.
Thanks
10 years 4 months ago #8
by developtp
Notice: Undefined property: stdClass::$thumb in C:\xampp\htdocs\www.liverpooldaysout.co.uk\modules\mod_minifrontpage\themes\default\tmpl\bottom.php on line 79
Everything works fine with the articles that have an image but errors show next to articles without an image.
Thanks
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Hi developtp, Can you try to open file modules/mod_minifrontpage/mod_minifrontpage.php with your favorite php editor. Arround lines 111 - 114 you will see these codes :
change that to
fyi, those are just notice not error. If you don't want to edit the php file, you can hide it by disabling showing errors in global settings for server in joomla panel.
10 years 4 months ago #9
by TemplatePlazza
if(!is_null($images)) {
$introImage = htmlspecialchars( $images->image_intro );
$fulltextImage = htmlspecialchars( $images->image_fulltext );
}
change that to
if(!is_null($images)) {
$introImage = htmlspecialchars( $images->image_intro );
$fulltextImage = htmlspecialchars( $images->image_fulltext );
$item->thumb = null;
}
fyi, those are just notice not error. If you don't want to edit the php file, you can hide it by disabling showing errors in global settings for server in joomla panel.
Please Log in or Create an account to join the conversation.