Martes, 22 Julio 2014 17:42
beggarly

Error Message - Helper.php on Line 88

Error Message - Helper.php on Line 88

Postby xyuwm8pi » Tue Feb 12, 2013 5:04 pm

Hi,

Since updating to PHP 5.4, I've encountered the following error with WP Posts:

Warning: Creating default object from empty value in /homepages/45/d352879194/htdocs/modules/mod_wpposts/helper.php on line 88

Warning: Creating default object from empty value in /homepages/45/d352879194/htdocs/modules/mod_wpposts/helper.php on line 88

Here is the code from line 85 - 93:

foreach ( $rows as $row )
{
if ($row->post_type == 'post') {
$lists[$i]->link = $wpBaseUrl.'/?p='.$row->ID;
} else {
$lists[$i]->link = $wpBaseUrl.'/?page_id='.$row->ID;
}
$lists[$i]->title = htmlspecialchars( $row->post_title );
$lists[$i]->readmore = false;

Experienced no problems with WP Posts since the PHP update.
xyuwm8pi
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Tue Feb 12, 2013 4:58 pm

Return to WordPress Posts



Who is online

Users browsing this forum: No registered users and 1 guest