Bad $rs in GetUpdateSQL. Connection or SQL invalid. Try using $connection->debug=true;

<br /> <b>Notice</b>: Undefined index: onPage in <b>/home/admin/domains/thaipurchasing.com/public_html/templates_c/f40564fa8466cddb9149be489e0cf7bf1749b68b_0.file.header.tpl.php</b> on line <b>37</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>/home/admin/domains/thaipurchasing.com/public_html/templates_c/f40564fa8466cddb9149be489e0cf7bf1749b68b_0.file.header.tpl.php</b> on line <b>37</b><br />