Make a new site and then try and edit the Administration -> Configure site -> Pages Group homepage template
you should get an error
[WAR] 80 (lib/errors.php:796) Failed to get a recordset: postgres8 error: [-2: ERROR: syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "group" WHERE "id" = ? LIMIT 2 ^] in EXECUTE("SELECT * FROM "group" WHERE "id" = ? LIMIT 2")
Command was: SELECT * FROM "group" WHERE "id" = ?
This is due to trying to get a group with no id: get_record("group", "id", null) at ../htdocs/view/blocks.php:92
To test:
Make a new site and then try and edit the Administration -> Configure site -> Pages Group homepage template
you should get an error php:796) Failed to get a recordset: postgres8 error: [-2: ERROR: syntax error at or near "LIMIT"
^] in EXECUTE("SELECT * FROM "group" WHERE "id" = ? LIMIT 2")
[WAR] 80 (lib/errors.
LINE 1: SELECT * FROM "group" WHERE "id" = ? LIMIT 2
Command was: SELECT * FROM "group" WHERE "id" = ?
This is due to trying to get a group with no id: get_record("group", "id", null) at ../htdocs/ view/blocks. php:92