Undefined property in Mini Frontpage
- Posted by erwinschro (1034) Offline
David
it's latestnewsplusdate not minifrontpage module based on the error
are you able to edit the module php code? if you do then please edit this file
YOURJOOMLAROOT/modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php about line 116
change it to
and see if that can remove the notice warning...
11 years 4 months ago #7
by erwinschro
it's latestnewsplusdate not minifrontpage module based on the error
are you able to edit the module php code? if you do then please edit this file
YOURJOOMLAROOT/modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php about line 116
$item->image = '';
change it to
$item->image = $modulebase .'assets/default.gif';
and see if that can remove the notice warning...
Please Log in or Create an account to join the conversation.
- Posted by David Anderson (6) Offline
Sorry, my mistake!! Wrong module (embarassed smile )
Please ignore these comments!
David
11 years 4 months ago #8
by David Anderson
Please ignore these comments!
David
Please Log in or Create an account to join the conversation.
- Posted by David Anderson (6) Offline
Oh - I've just seen your last comment. Yes, in fact it is the latestnewsplus module that has the error.
I will implement your correction and let you know if this corrects it.
Thanks
David
11 years 4 months ago #9
by David Anderson
I will implement your correction and let you know if this corrects it.
Thanks
David
Please Log in or Create an account to join the conversation.
- Posted by David Anderson (6) Offline
I've made the change, but the same error is displayed :
Notice: Undefined property: stdClass::$image in /var/sites/b/broadstoneresidents.org.uk/public_html/modules/mod_latestnewsplusdate/tmpl/default.php on line 102
David
11 years 4 months ago #10
by David Anderson
Notice: Undefined property: stdClass::$image in /var/sites/b/broadstoneresidents.org.uk/public_html/modules/mod_latestnewsplusdate/tmpl/default.php on line 102
David
Please Log in or Create an account to join the conversation.