• 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/

Viewing 1 replies (of 1 total)
  • Thread Starter nvicks

    (@nvicks)

    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?

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Cannot access empty property’ is closed to new replies.