Error Joomla 2.5.14
- Posted by rightinfront (6) Offline
Latestnews + comes up with errors on Joomla 2.5.14
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php on line 57
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php on line 58
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/tmpl/default.php on line 25
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/tmpl/default.php on line 26
Any help would be appreciated
Kevin
11 years 4 months ago #1
by rightinfront
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php on line 57
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php on line 58
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/tmpl/default.php on line 25
Notice: Trying to get property of non-object in /modules/mod_latestnewsplusdate/tmpl/default.php on line 26
Any help would be appreciated
Kevin
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
You can try to edit that lines 57-58 in /modules/mod_latestnewsplusdate/mod_latestnewsplusdate.php
to be
do the same for the default.php file like above and see if the warning/notice is gone or not.
11 years 4 months ago #2
by erwinschro
$introImage = htmlspecialchars( $images->image_intro );
$fulltextImage = htmlspecialchars( $images->image_fulltext );
to be
if(!is_null($images)) {
$introImage = htmlspecialchars($images->image_intro);
$fulltextImage = htmlspecialchars($images->image_fulltext);
}
do the same for the default.php file like above and see if the warning/notice is gone or not.
Please Log in or Create an account to join the conversation.
- Posted by rightinfront (6) Offline
- Posted by erwinschro (1034) Offline