Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/functions.inc.php on line 859 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/functions.inc.php on line 675 Fatal error: Uncaught mysqli_sql_exception: Deadlock found when trying to get lock; try restarting transaction in /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/mysqli_wrapper.inc.php:149 Stack trace: #0 /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/mysqli_wrapper.inc.php(149): mysqli_query(Object(mysqli), 'UPDATE `mgb_cap...') #1 /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/functions.inc.php(719): MySQLiWrapper->dbQuery('UPDATE `mgb_cap...') #2 /mnt/web701/b3/66/51152966/htdocs/MGB_01/email.php(315): generate_captcha('0') #3 {main} thrown in /mnt/web701/b3/66/51152966/htdocs/MGB_01/includes/mysqli_wrapper.inc.php on line 149