Support » Plugin: Adminer » is_user_logged_in() not defined

  • Resolved Maxaud


    I get this error when viewing the Adminer page:

    2013/10/02 04:11:32 [error] 9610#0: *7629 FastCGI sent in stderr: "PHP Fatal error: Call to undefined function is_user_logged_in() in /home/deployer/sites/ on line 741" while reading response header from upstream, client:, server:, request: "GET /wp-content/plugins/adminer/inc/adminer/loader.php?username=<myusername>&db=<mydb> HTTP/1.1", upstream: "fastcgi://", host: "", referrer: ""

    If I deactivate my other plugins and use default theme, it works.

    It looks to be related to the use of the “is_admin_bar_showing()” function in a different plugin.

    Maybe there is a way to not load the other plugins with Adminer?

    These plugins don’t throw any errors by themselves.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Bueltge


    The plugin works outside WordPress and can in your error message not identify the core files of WordPress. Maybe you install is different from default or the webspace is not typically for my tests?

    I’ve actually encountered this multiple occasions on MANY different sites.

    Some times it gives the “Cheatin’ uh?” WordPress error.

    In all occasions, if I change my theme to a default or deactivate all other plugins, it will start working.

    Plugin Author Frank Bueltge


    This hint is my last echo, if the plugin can’t find the wp-config.php of the installation.
    Can you describe the install, the folder and where is the wp-config.php? Also is the plugin active in a Multisite environment or single install? Which WP version?

    It’s happened with 3.8 in a normal root installed domain with the wp-config.php in the default location.

    Plugin Author Frank Bueltge


    Please can you test this version:
    Replace the completly folder in your plugin directory.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘is_user_logged_in() not defined’ is closed to new replies.