Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
WiredUK opened this issue Nov 2, 2023 · 1 comment
Open

Comments

@WiredUK
Copy link

WiredUK commented Nov 2, 2023

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.

@GaryJones
Copy link
Contributor

Are you able to replicate this with the develop branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants