Response not JSON!

AndyB

Well-known member
I recently changed my server to HTTPS. One of my add-ons has a button that links to:

Code:
https://www.southbayriders.com/forums/rsvp/register?t=154761

In the PHP code I have the following where I want to assign the the variable $threadId by getting the value of 't' from the URL.

PHP:
// get threadId from URL
$threadId = $this->_input->filterSingle('t', XenForo_Input::UINT);

If I put an echo $threadId code directly after this PHP code I get the following error when I click the button.

upload_2017-2-2_4-7-19.webp

Does this have anything to do with the HTTPS I'm now using?
 
Turned out to be a corrupt XML file. I needed to uninstall the add-on and re-install from a backup.
 
Top Bottom