Forums

Fatal error: Cannot access empty property (2 posts)

  1. nvicks
    Member
    Posted 1 year ago #

    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!

    http://blog.nicolevickers.org

    http://wordpress.org/extend/plugins/wp-shortstat2/

  2. nvicks
    Member
    Posted 1 year ago #

    Well, it seems it doesn't work as well as I thought. Although I can now access the stats panel without errors, no stats show up at all.. despite the fact that there have been hits to my site.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic