Tried dumping out the response? Could be something session based as it works locally.
WordPress and AJAX
Hi, I'm running WordPress (don't laugh) on Laravel Forge. I'm experiencing trouble with plugins using AJAX requests running on HHVM. First a front end script doing a AJAX post request via jQuery does not get a response and now a booking plugin can't save data in the Dashboard.
Console says the request is successful but clearly does not work. Tried finding information in the logs to no avail. It's working locally.
Any ideas or ideas on where to look for error codes?
The response gives status 200 OK for both functions which makes it hard to search for errors.
Edit: Seems related to XML-RPC and HHVM. Still looking for an answer but this seems most likely since both plugins errors points to XML-RPC.
XML error at line 1, check URL
Invalid operand type was used: expecting an array in /home/forge/example.com/web/app/plugins/dopbsp/includes/calendars/class-backend-calendar-schedule.php on line 77
Edit2: Removed HHVM switched to php-fpm and now it works.
Please or to participate in this conversation.