WordPress.org

Ready to get started?Download WordPress

Forums

NewStatPress
[resolved] Another bug (2 posts)

  1. szaleq
    Member
    Posted 5 months ago #

    newstatpress.php:2038 uses $userdata->user_login. This causes error when no user is logged in (no userdata object!).

    Solution:
    please do something like this:
    $login = $userdata ? $userdata->user_login : null;

    then use $login in line 2038;

    https://wordpress.org/plugins/newstatpress/

  2. ice00
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

    thanks,
    I'm adding into the version to be released in this weekend

Reply

You must log in to post.

About this Plugin

About this Topic