Easy Nivo Slider
Fatal error when I try to access Network Panel(On Multi-SIte installation (5 posts)

  1. asshu
    Posted 5 years ago #

    Hello !

    I have just installed the plugin on a Multi-Site Installation. I didn't activate it Network wide. But just on main Site. Immediately I lost access to /wp-admin/network/ and got this error message :

    Fatal error: Call to undefined function wp_get_current_user() in /public_html/wp-includes/capabilities.php on line 1028

    I have double checked it by de-activating the plugin, deleting and re-installing it. But got the same error all the times

    It only happens when the plugin is activated and works fine if I de-activate it

    Does any body have Idea on solving this issue?

    Versions used :

    WP Version : 3.1.1
    Plugin Version : 1.6.1
    Multi-Site Installation ? Yes

    Thanks !

  2. Yitzi
    Posted 5 years ago #

    Try changing:

    if (is_admin()) {

    in easy-nivo-slider.php (about line 113) to:

    if (is_admin() && (!defined('WP_NETWORK_ADMIN') || !WP_NETWORK_ADMIN)) {

  3. volcaniclabs
    Posted 5 years ago #

    Thank You Yitzi the code worked for me and I found the original opening statement around row 219.

  4. asshu
    Posted 5 years ago #


    It worked . But the line is 110


  5. MyrddinDE
    Posted 4 years ago #

    Great suggestion Yitzi

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