Co-Authors-Plus
Co-Authors-Plus copied to clipboard
Warning in server log: Attempt to read property "user_nicename" on bool
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.
Are you able to replicate this with the develop
branch?