An unhandled error occured

Unable to access lock file for data source 'SMLog'

Stack trace
#0 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMDataSource.classes.php(364): SMDataSourceCacheItem->Lock()
#1 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMLog.class.php(99): SMDataSource->Lock()
#2 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMLog.class.php(16): SMLog::Log('/customers/5/3/...', 16, 'Error 8192: Met...')
#3 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/extensions/SMExternalModules/Main.class.php(4): SMErrorHandler(8192, 'Methods with th...', '/customers/5/3/...', 16, Array)
#4 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/extensions/SMExternalModules/Main.class.php(4): require_once()
#5 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMController.class.php(260): require_once('/customers/5/3/...')
#6 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMController.class.php(229): SMController->createExtensionInstance('SMExternalModul...')
#7 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMController.class.php(105): SMController->autoExecuteExtensions('PreInit')
#8 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/index.php(17): SMController->Execute()
#9 {main}

WARNING: Unable to release data source file locks during exception handling.

An unhandled error occured

Unable to write data to resource 'SMLog' - data corrupted, possibly due to use of invalid character set

Stack trace
#0 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMLog.class.php(102): SMDataSource->Commit()
#1 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMLog.class.php(16): SMLog::Log('/customers/5/3/...', 210, 'Error 2: flock(...')
#2 [internal function]: SMErrorHandler(2, 'flock() expects...', '/customers/5/3/...', 210, Array)
#3 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMSqlCommon.classes.php(210): flock(false, 3)
#4 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMDataSource.classes.php(370): SMDataSourceCacheItem->Unlock()
#5 /customers/5/3/1/kulsvier.dk/httpd.www/Sitemagic/base/SMLog.class.php(42): SMDataSource->Unlock()
#6 [internal function]: SMExceptionHandler(Object(Exception))
#7 {main}

It may be necessary to delete all *.lock files from the data folder on the server.