Automattic / Automattic/co-authors-plus

Ask: possible conflict with yoast plugin (wordpress-seo)

Open
#925 0 comments 0 reactions 0 assignees View on GitHub
priority: medium status: needs investigation type: bug
Dominant language
PHP
Stars
322
Forks
216
Avg merge
7h 50m
Merged PRs (30d)
65

Description

Sorry Folks,
just want to ask whether any possible conflict issue with yoast seo plugin
i had notice some error in the wordpress when using co-authors-plus & yoast-seo plugin
- co-authors-plus (origin version: 3.5.2 - test update 3.5.10)
- yoast-seo (version: 19.6.1)
- Wordpress version 6.0.3
- PHP 8.1.6

the error that shows:
```
Got error 'PHP message: PHP Warning: Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/co-authors-plus/template-tags.php on line 189PHP message: PHP Warning: Attempt to read property "display_name" on bool in /var/www/html/wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/src/generators/schema/article.php on line 52'
```
when tried to disabled all yoast-seo plugins sometimes the new error shown like below:
```
ot error 'PHP message: PHP Warning: Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/co-authors-plus/template-tags.php on line 189PHP message: PHP Warning: Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/co-authors-plus/template-tags.php on line 189'
```
I'm not yet to ask / open issue in Yoast repo page just wondering if something i can try to fix from my side ? Any advices really appreciate it & many thanks

Contributor guide

Open the contributing guide

Research direction

Reproduce the warnings with co-authors-plus 3.5.2 or 3.5.10, Yoast SEO 19.6.1, WordPress 6.0.3, and PHP 8.1.6. Start at co-authors-plus/template-tags.php line 189 and Yoast's article.php line 52, then determine which value is boolean and whether the behavior persists with Yoast disabled; done requires a confirmed cause and a documented fix or incompatibility report.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.