Skip to content

Warning in server log: Attempt to read property "user_nicename" on bool #1014

@WiredUK

Description

@WiredUK

We are seeing warnings in our server logs:

[proxy_fcgi:error] [pid 711673] [client www.xxx.yyy.zzz:nnnnn] AH01071: Got error 'PHP message: PHP Warning: Attempt to read property "user_nicename" on bool in /home/site/public_html/wp-content/plugins/co-authors-plus/co-authors-plus.php on line 1124'

Since get_userdata can return false, I think it's worth putting a check in there.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions