Fatal error: Cannot access empty property
-
I had to change the code on line 771 to get shortstat to work in 2.3.3. I was getting the above error message with the original code:
<tr><td colspan=”2″ class=”accent”>Since <?php echo gmdate(“g:i a j M Y”,$wpss->getFirstHit()+(((gmdate(‘I’))?($wpss->$tz_offset+1):$wpss->$tz_offset)*3600));?></td></tr>
and made the following modifications (in bold):
<tr><td colspan=”2″ class=”accent”>Since <?php echo gmdate(“g:i a j M Y”,$wpss->getFirstHit()+(((gmdate(‘I’))?($wpss->tz_offset+1):$wpss->tz_offset)*3600));?></td></tr>
Works great now. Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fatal error: Cannot access empty property’ is closed to new replies.