• the theme, combined with BuddyPress will generate notice. for more information see: https://buddypress.trac.ww.wp.xz.cn/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.”

    the P2 class must wait till init to check for user and include ajax part.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thanks for the report. Could you please clarify whether this is something that started happening only with version 1.5.7 of P2?

    Thread Starter geminorum

    (@geminorum)

    I’m seeing this on 1.5 ~ 1.5.5

    also it’s better to use __construct in P2 class. every PHP4 style constructor method is deprecated since WP4.3

    Thanks for this, I will pass it along to our developers.

    also it’s better to use __construct in P2 class. every PHP4 style constructor method is deprecated since WP4.3

    Our developers let me know that most of the older-style classes that were throwing errors previously have been updated in 1.5.7 with the __construct format, if you’d like to give that version a try. It can be downloaded here, as I mentioned in the other thread: http://p2theme.com/

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Too Early User Checking’ is closed to new replies.