Forums

Slimstat errors: "cannot redeclare" & "call to undefined function" (2 posts)

  1. Madsen
    Member
    Posted 5 years ago #

    Hi

    My host's server broke down and they moved my WP-stuff (WP 1.5.2) onto another server...and ShortStat have now stopped working:

    "Fatal error: Cannot access empty property in D:\Domains\madsenblog.dk\wwwroot\wp-content\plugins\wp-shortstat.php on line 771"

    ...line 771 reads something like this:

    "<tr><td colspan="2" class="accent">Since <?php echo gmdate("g:i"

    I then tried SlimStat, but that doesn't work either...Slimstat tell's me that:

    "Fatal error: Cannot redeclare wp_slimstat_add_tab() (previously declared in D:\Domains\madsenblog.dk\wwwroot\wp-content\plugins\wp-slimstat\wp-slimstat.php:3381) in D:\Domains\madsenblog.dk\wwwroot\wp-content\plugins\wp-slimstat\wp-slimstat.php on line 3385

    Fatal error: Call to undefined function is_user_logged_in() in D:\Domains\madsenblog.dk\wwwroot\wp-content\plugins\wp-slimstat\wp-slimstat.php on line 821"

    Line 3385 reads:

    "add_submenu_page( 'index.php', 'SlimStat', 'SlimStat', 1, __FILE__, array("

    and line 821 reads:

    "// Test if user is admin, only get userinfo, when user is logged in
    if ( is_user_logged_in() ) {"

    Any idea what's causing the problems?! Please forgive me, but I know absolutely NADA 'bout php and I'm not quite sure what information you need.

    Hope you can help!

  2. Madsen
    Member
    Posted 5 years ago #

    Hope it's OK I bump this one...

Topic Closed

This topic has been closed to new replies.

About this Topic