Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On Q2A v. 1.8.6 and php 8.0 I receive an error message on (domain)/blog:
Warning: Undefined variable $navcategories in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 51 Warning: Undefined array key "" in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 63 Warning: Trying to access array offset on value of type null in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 63 Warning: Undefined variable $suggest in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 109 Warning: Undefined variable $navcategories in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 112 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php:112 Stack trace: #0 (domain)/public_html/qa-plugin/q2a-blog-post/user/blog-post.php(202): qa_article_feed() #1 (domain)/public_html/qa-include/pages/default.php(107): blog_post->process_request('blog') #2 (domain)/public_html/qa-include/app/page.php(195): require('(domain)...') #3 (domain)/public_html/qa-include/qa-page.php(47): qa_get_request_content() #4 (domain)/public_html/qa-include/qa-index.php(188): require('(domain)...') #5 (domain)/public_html/index.php(27): require('(domain)...') #6 {main} thrown in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 112