[resolved] is_user_logged_in() not defined (6 posts)

  1. Maxaud
    Posted 2 years ago #

    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/mydomain.com/wp-includes/admin-bar.php on line 741" while reading response header from upstream, client:, server: mydomain.com, request: "GET /wp-content/plugins/adminer/inc/adminer/loader.php?username=<myusername>&db=<mydb> HTTP/1.1", upstream: "fastcgi://", host: "mydomain.com", referrer: "http://mydomain.com/wp-admin/network/settings.php?page=adminer/adminer.php"

    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.


  2. Frank Bueltge
    Plugin Author

    Posted 1 year ago #

    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?

  3. Maxaud
    Posted 1 year ago #

    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.

  4. Frank Bueltge
    Plugin Author

    Posted 1 year ago #

    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?

  5. Maxaud
    Posted 1 year ago #

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

  6. Frank Bueltge
    Plugin Author

    Posted 1 year ago #

    Please can you test this version: https://dl.dropboxusercontent.com/u/132701/adminer.zip
    Replace the completly folder in your plugin directory.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Adminer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic