I updated your queryobj.php file to turn on debug mode so it gives the full error on the page.
Got it and corrected in live server, now the registration is working fine. Thanks a lot.
Meanwhile also on the registration page extra security question field below the captcha is coming which I need to remove but on the wizard didn't find any option to remove it. Pls help me to get the way to remove it.