Hello, In my add-on called Search Log v2.5 located here: https://xenforo.com/community/resources/search-log.2539/ In a table called xf_search_log, I try to update a table field called title_constraints. The value of title_constraints is added by the following code: PHP: $titleConstraints = new XenForo_Phrase('searchlog_title_only'); then I use an insert like this: PHP: // run query $db->query(" INSERT INTO xf_search_log (search_date, user_id, username, search_query, forum_constraints, user_constraints, title_constraints, newer_than, result_count) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) ", array($searchDate, $userId, $username, $searchQuery, $forumConstraints, $userConstraints, $titleConstraints, $newerThan, $resultCount)); I get the following error message when a search is made and the add-on code is executed: If I don't use a phrase and just assign the $titleConstraints variable a value there is no error. What do I need to do to use a phrases in this situation? Thank you.