Support » Fixing WordPress » Issue with 1.5.2 and SMF’s ssi

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with 1.5.2 and SMF’s ssi’ is closed to new replies.