Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
137 views
in Plugins by
After installing the q2a poll plugin by Noah Y, I'm getting an http500 error on the poll archives page. (https://website.com/polls)

Can anyone replicate this? Any solutions?
I'm aware that the plugin is quite old, also tried the pupi1985 fork but got the same error alas.
Q2A version: 1.8.8
by
1. What is the error you see in the server error log file?
2. What PHP version are you using?
by
1)
Stack trace:
#0 /home/customer/www/website.com/public_html/qa-plugin/q2a-poll-main/qa-poll-page.php(97): qa_q_list_page_content(Array, '20', NULL, 0, 'Polls', 'No questions fo...', NULL, NULL, false, NULL, NULL, NULL, NULL)
#1 /home/customer/www/website.com/public_html/qa-include/pages/default.php(107): qa_poll_page->process_request('polls')
#2 /home/customer/www/website.com/public_html/qa-include/app/page.php(195): require('/home/customer/...')
#3 /home/customer/www/website.com/public_html/qa-include/qa-base.php(753): qa_get_request_content()
#4 /home/customer/www/website.com/public_html/qa-include/qa-base.php(815) : eval()'d code(1): qa_call('qa_get_request_...', Array)
#5 /home/customer/www/website.com/public_html/qa-include/qa-base.php(720) : eval()'d code(12): qa_get_request_content_base()
#6 /home/customer/www/website.com/public_html/qa-include/qa-base.php(753): qa_get_request_content_override_1_in_qa_poll_overrides_php()
#7 /home/customer/www/website.com/public_html/qa-include/qa-base.php(818): qa_call('qa_get_request_...', Array)
#8 /home/customer/www/website.com/public_html/qa-include/app/page.php(174): qa_call_override('qa_get_request_...', Array)
#9 /home/customer/www/website.com/public_html/qa-include/qa-page.php(47): qa_get_request_content()
#10 /home/customer/www/website.com/public_html/qa-include/qa-index.php(189): require('/home/customer/...')
#11 /home/customer/www/website.com/public_html/index.php(27): require('/home/customer/...')
#12 {main}
  thrown in /home/customer/www/website.com/public_html/qa-include/app/q-list.php on line 134

2) I'm using PHP 8.2.24 right now but I have the ability to upgrade up to PHP 8.4 if needed.
by
All of those errors just for visiting the poll page lol

1 Answer

0 votes
by
selected by
 
Best answer
I've just released a new version with the fix. Check again and let me know if you face any other issue.

Here is the link: https://github.com/pupi1985/q2a-poll/releases/latest
by
appreciate it gangy
by
works like a charm
...