Error We are sorry, but an error occurred while generating this page. You should contact the site's administrator.
Error in query number 1:
Error in function call sqlpage.run_sql('_post_meta.sql').
Expected sqlpage.run_sql(sql_file_path, variables)
Backtrace
run_sql: unable to run "_post_meta.sql"
In "_post_meta.sql": The following error occurred while executing an SQL statement:
error communicating with database: Connection reset by peer (os error 104)
The SQL statement sent by SQLPage was:
WITH soundcloud_check AS (SELECT EXISTS (SELECT 1 FROM post_meta AS pm WHERE pm.post_id = CAST($1 AS TEXT)::INT AND pm.meta_key = 'soundcloud') AS has_soundcloud) SELECT get_translation(CAST($2 AS TEXT), 'meta.audio') AS title, CASE WHEN has_soundcloud THEN '#audio' ELSE NULL END AS link, CASE WHEN has_soundcloud THEN ' ' ELSE '✕' END AS description, CASE WHEN has_soundcloud THEN 'headphones' ELSE 'headphones-off' END AS icon FROM soundcloud_check JOIN post_meta AS pm ON pm.post_id = CAST($1 AS TEXT)::INT WHERE pm.meta_key = 'meta';
You can hide error messages like this one from your users by setting the 'environment' configuration option to 'production'.