The sql_query global variable should be a string, and it can be a string in this case, which will cause an error as the string will not be converted to array. Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>