Using Apache 2.4, PHP 5.4 and MW v1.23 and PostgreSQL 9.2 as DB. Converted the MySql queries to PostgreSQL and executed it successfully. But,getting "Database Error: A database query error has occurred. This may indicate a bug in the software." on the MW page and following warning on top of it. "Warning: Invalid argument supplied for foreach() in /path/to/MW/folder/extension/MeadiaWikiChatClass.php on line 95".
Please suggest, what might help resolve this issue.