WordPress.org

Forums

NewStatPress
[resolved] Another bug (2 posts)

  1. szaleq
    Member
    Posted 1 year 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 1 year ago #

    Hi,

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NewStatPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic