Warning: pg_query(): Query failed: ERROR: missing FROM-clause entry for table "p" LINE 11: p.post_type != 'member' ^ in /data/sites/ze.nl/system/Core/MVDataObject.php on line 813

Fatal error: Uncaught exception 'Exception' with message 'Query failed' in /data/sites/ze.nl/system/Core/MVDataObject.php:816 Stack trace: #0 /data/sites/ze.nl/system/Core/MVDataObject.php(72): MVDatabaseStatement->execute() #1 /data/sites/ze.nl/system/Modules/Posts/Model/Posts.php(265): MVDataObject::execute('Post', Object(MVDatabaseStatement)) #2 /data/sites/ze.nl/system/Modules/Posts/Frontend/RelatedCode.php(7): Post::relatedPosts('243093', '345', '8', NULL) #3 /data/sites/ze.nl/system/Core/Template.php(492): Related->load() #4 /data/sites/ze.nl/system/Core/Template.php(507): Template->createModule('{@module=Posts-...', ' <div cl...', false, Object(Detail)) #5 /data/sites/ze.nl/system/Core/Template.php(507): Template->createModule('{@module=Posts-...', '\t{@module=Posts...', false, Object(BlogFrontend)) #6 /data/sites/ze.nl/system/Core/Template.php(152): Template->createModule('{@module=Posts-...', '{@module=Posts-...', false) #7 /data/sites/ze.nl/system/Core/Template.php(344): Template->createView('BlogDetail') #8 /data/sites/ze.nl/system/Core/Router.php(280): Template->render() #9 /data/sites/ze.nl/htdocs/index.php(19): Router->loader() #10 {main} thrown in /data/sites/ze.nl/system/Core/MVDataObject.php on line 816