Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[42883]: Undefined function: 7 ERROR: function similarity(character varying, unknown) does not exist
LINE 1: select word, similarity(word, $1) as sml from search_lexicon...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
The SQL being executed was: select word, similarity(word, '') as sml from search_lexicon where word % ''
order by sml desc limit 5

Error Info: Array
(
    [0] => 42883
    [1] => 7
    [2] => ERROR:  function similarity(character varying, unknown) does not exist
LINE 1: select word, similarity(word, $1) as sml from search_lexicon...
                     ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
)
$_SESSION = [
    '__flash' => [],
    'utm' => '',
    'params' => false,
];