The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Log Viewer
Too Early User Checking (6 posts)

  1. geminorum
    Posted 2 years ago #


    the plugin, combined with BuddyPress will generate notice. for more information see : https://buddypress.trac.wordpress.org/ticket/4830

    "Some plugin is invoking it (set_current_user) too early. You'll want to do a debug_backtrace() and figure out what function is calling it when."

    seems to me you have to use is_super_admin() on init, and not before on class construction.

    very helpful plugin btw, thanks


  2. Markus Fischbacher
    Plugin Author

    Posted 2 years ago #

    Hmmm... i will have a look at it - i used the excellent WordPress Plugin Boilerplate as a "Template" for all of my plugins. But for this one it was at an early stage so i guess there could be a change at a later point.

  3. geminorum
    Posted 2 years ago #

    you cannot check for user capabilities before init. this may help :

    i'm using your plugin with WP_DEBUG on and WP_DEBUG_DISPLAY off.
    for me, it's kind of ironic that the log-viewer generates error logs
    itself! :D

  4. Markus Fischbacher
    Plugin Author

    Posted 2 years ago #

    hmm... i think i found the problem. its just, that i currently just cant move it to the right position as it doesn't work then.
    I need some more time this weekend to figure this out - if my childs are entertained enough so i can get an hour for this ;-)

  5. Markus Fischbacher
    Plugin Author

    Posted 1 year ago #

    Hey there, sorry for long time no hear.
    I decided to rewrite most of the code in the comming weeks in favour of just fixing this.

  6. operapreneur
    Posted 1 year ago #


    I'm seeing this issue as well and would appreciate an update.

    Thanks for your work!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Log Viewer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.