Closes #28
Not sure if there were any other warnings/errors that could've been the cause. This was what made it work for me. Found the issue by logging the xhr output from the xhrError function in main.js, with the output in responseText having:
<b>Warning</b>: sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/public/lookup.php</b> on line <b>158</b><br />
<b>Warning</b>: sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/public/lookup.php</b> on line <b>160</b><br />
<b>Warning</b>: sizeof(): Parameter must be an array or an object that implements Countable in <b>/www/public/lookup.php</b> on line <b>161</b><br />
Would definitely recommend better logging for end-users, or at-least an error in the console showing the responseText in case something similar happens again.
Closes #28 Not sure if there were any other warnings/errors that could've been the cause. This was what made it work for me. Found the issue by logging the
xhr
output from thexhrError
function inmain.js
, with the output inresponseText
having:Would definitely recommend better logging for end-users, or at-least an error in the console showing the
responseText
in case something similar happens again.