• I installed WP Retina 2x on my network installation but when I went to network activate I received the message “Plugin could not be activated because it triggered a fatal error.”

    If I activate for a single site, I see no immediate error and it appears I’m able to use the plugin successfully. But when I go to my network admin again, I receive the fatal error message:

    Fatal error: Call to undefined function wp_get_current_user() in /Users/montchr/Sites/fnord.com/fnord.dev/wp-includes/capabilities.php on line 1203

    What’s up?

    https://www.ads-software.com/extend/plugins/wp-retina-2x/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    I am sorry but I never used the network admin / functions, and I don’t really understand why you would get this fatal error (it seems it has nothing to do at all with the plugin). I quickly checked on Internet and it seems it’s a WordPress bug…

    Can you try to edit the file wp-retina-2x.php, and add “require_once(‘pluggable.php’);” at the very top? That might work…

    Please tell me, that would be cool ??

    Thread Starter Chris Montgomery

    (@montchr)

    No, that’s not it. I found a fix though…

    I searched for that error message I got and I found this support thread for a different plugin.

    The problem is that the plugin requires a file called “settings.php” in the plugin folder. I simply renamed settings.php and changed require('settings.php'); to require('wp-retina-2x-settings.php');

    All is good.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Thanks so much, that’s excellent! I will release a new version of the plugin this Monday that includes this fix ??

    Thread Starter Chris Montgomery

    (@montchr)

    Sure thing! I’m glad to have helped out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Retina 2x] Causes fatal error on network site’ is closed to new replies.