Skip to content

Instantly share code, notes, and snippets.

View guyvanbael's full-sized avatar

guy van bael guyvanbael

View GitHub Profile
[Emergency] Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('helaba*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('helaba*' IN BOOLEAN MODE) AND ShowInSearch 0) AND (("SiteTree_Localised_nl_BE"."ID" IS NOT NULL)) 42S22-1054: Unknown column 'SiteTree_Localised_nl_BE.ID' in 'where clause'
GET /testss4fluent/home/SearchForm/?Search=helaba&action_results=L
Line 64 in /Users/guy/Documents/webroot/testss4fluent/vendor/silverstripe/framework/src/ORM/Connect/DBConnector.php
Source
55 if (!empty($sql)) {
56 $formatter = new SQLFormatter();
57 $formattedSQL = $formatter->formatPlain($sql);
58 $msg = "Couldn't run query:\n\n{$formattedSQL}\n\n{$msg}";
59 }