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

Undefined property: WP_Error::$count #1974

Open
rizaardiyanto1412 opened this issue Jan 14, 2025 · 0 comments
Open

Undefined property: WP_Error::$count #1974

rizaardiyanto1412 opened this issue Jan 14, 2025 · 0 comments

Comments

@rizaardiyanto1412
Copy link
Contributor

We got this report from one of our users and ended up asking for a refund. We don't get much details on how to replicate it, can we make sure nothing wrong from our side?

https://secure.helpscout.net/conversation/2817032895/228371

Warning: Undefined property: WP_Error::$count in /www/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1149 Warning: Undefined property: WP_Error::$count in /www/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1149 Warning: Undefined property: WP_Error::$count in /www/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1149 Warning: Undefined property: WP_Error::$count in /www/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1149 Warning: Undefined property: WP_Error::$count in /www/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1149

This error appears on author archive page (which doesn't load all of his posts):

Warning: Undefined property: WP_Error::$term_id in /www/wp-content/plugins/publishpress-authors/src/core/Classes/Query.php on line 333

FYI: the plugin was installed on a previous iteration of the site. The site was a multi-site. When we migrated the database to bring the content, we likely brought over some legacy data. For example, when we load the PP plugin, there are already several author profiles in the admin.

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