WordPress.org

Ready to get started?Download WordPress

Forums

Issue with 1.5.2 and SMF's ssi (3 posts)

  1. Rokuzen
    Member
    Posted 9 years ago #

    I just upgraded to 1.5.2. However, now where I had the most recent posts from my simplemachines forum, I get this:

    Fatal error: Cannot redeclare is_admin() (previously declared in /home/.eton/user/newworldotter.com/wp-includes/functions.php:1335) in /home/.eton/user/newworldotter.com/forum/Sources/Security.php on line 111

    I was calling it in this way:

    <?php require("/home/.eton/user/newworldotter.com/forum/SSI.php");

    ssi_recentPosts();

    ?>

    Any suggestions would be helpful. Note, I can't use the include() function due to my web host.

  2. wing
    Member
    Posted 8 years ago #

    I just installed this and had the same issue. There is only about 10 places is_admin is used in wordpress I just renamed the function wp_is_admin and I renamed all calls to the function in all the include files.

  3. itrends
    Member
    Posted 8 years ago #

    is there not a better fix for this? or does someone have a zip available with the updated files?

    Dave

Topic Closed

This topic has been closed to new replies.

About this Topic