Easy Nivo Slider
Easy Nivo Slider causes inaccessible Network Admin section on Multi-Site install (3 posts)

  1. RavanH
    Posted 4 years ago #


    Somehow, whit Easy Nivo Slider enabled on the main site of a WordPress Multi-Site network, the Network Admin section is blocked. The error log shows

    PHP Fatal error:  Call to undefined function wp_get_current_user()

    After some googling I found the solution on another thread on the WP forums. Apparently this happens when a plugin includes a file called settings.php. And indeed, renaming the file settings.php to easy-nivo-slider-settings.php and changing the include statement in the main plugin file accordingly, solved the issue.

    I'm not saying this is caused by Easy Nivo Slider. It seems to me more a bug in WordPress. For instance, renaming that file to options.php (and adjusting the include statement again) will result in the complete site admin back-end being inaccessible...

    But for the time being, simply renaming settings.php to anything except options.php will do the trick :)


  2. kalligator
    Posted 4 years ago #

    Thanks for the fix.

    Also another patch to add to wp is a require_once call to the top of capabilities.php : http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_current_user-4?replies=32

  3. kalligator
    Posted 4 years ago #

    Actually a better solution for the above fix is presented on the second page of that thread, putting the require_once in wp-config.php instead

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Nivo Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic