we've recently updated a website to EE 2.9.3, but when linking to an non existent page, it should redirect to a 404 page. Instead, we get this:
Error Number: 1054
Unknown column 'order' in 'order clause'
SELECT route_parsed
, template_name
, group_name
FROM (exp_templates
) JOIN exp_template_routes
ON exp_templates
.template_id
= exp_template_routes
.template_id
JOIN exp_template_groups
ON exp_templates
.group_id
= exp_template_groups
.group_id
WHERE route_parsed
is not null AND exp_templates
.site_id
= '1' ORDER BY order
, group_name
, template_name
ASC
Filename: libraries/Template_router.php
Line Number: 83
Now, I checked the database and there is indeed no 'order' in exp_templates. To know what type this field should be, I did a clean install elsewhere on 2.9.3 and noticed this field isn't there at all. The request to it though, in Template_router.php, is.
Any ideas?
Thanks!