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

[Fix] PHP warning message when using (AnsPress) Question Stats widget #805

Merged
merged 4 commits into from
Feb 15, 2024

Conversation

mebishalnapit
Copy link
Collaborator

This PR includes:

  • Fixes PHP Warning: Attempt to read property "answers" on bool when viewing non question page
  • Fixes PHP Warning: Attempt to read property "post_modified_gmt" on bool when viewing non question page

PHP Warning: Attempt to read property answers on bool when viewing non question page
PHP Warning: Attempt to read property post_modified_gmt on bool when viewing non question page
@mebishalnapit mebishalnapit linked an issue Aug 10, 2023 that may be closed by this pull request
includes/qaquery.php Outdated Show resolved Hide resolved
includes/qaquery.php Outdated Show resolved Hide resolved
@rahularyan rahularyan merged commit 9b6776e into master Feb 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP warning message when using (AnsPress) Question Stats widget
2 participants