Error Message - Helper.php on Line 88
1 post
• Page 1 of 1
Error Message - Helper.php on Line 88
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.
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

- Posts: 1
- Joined: Tue Feb 12, 2013 4:58 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest