Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

HTTP ERROR 500 after PHP 7.1.x upgrade

0 votes
133 views
asked Dec 25, 2017 in Q2A Core by chinnailu

Hello,

 I have been using 1.7.5 for a while. Today I upgraded my server to PHP 7.1.x and Apache 4 version. 

  • Right after upgrade, when a user tries to "Ask a question",  I get the error below error . I read the latest 1.8 beta 2 release notes and said it was tested, so I upgraded to 1.8 Beta 2 as well, but I am still having the same error.   

--------------------

This page isn’t working
abc.com is currently unable to handle this request.
HTTP ERROR 500

---------------------

  • Also, when I try to respond / Answer to question , it gives the error with a pop-up. I checked console and it says 500 Error as well. 

---------------

Unexpected response from server - please try again or switch off Javascript.
-----------------
Please help ! 
Q2A version: 1.8 beta 2

1 Answer

+1 vote
answered Dec 25, 2017 by chinnailu

The error was Curl module was missing. and it was enabled to fix the below error in the trace. 

PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/xxx/public_html/qa/qa-plugin/akismet-spam-filter/akismet.class.php:74
Stack trace:

...