[Xperia Z Original Android Development] obs3rv:
SQLiteException: no such function: _COVER_REMOVED

It seems, at least on my phone, multiple file managers (ES File Explorer/Pro, Total Commander) report a failure while using the DocumentProvider API to delete files off the external SD card. No errors are reported when writing or renaming files.

What appears to be the relevant part of the logcat:

08-30 07:48:52.013 13860 21056 E SQLiteLog: (1) no such function: _COVER_REMOVED
08-30 07:48:52.015 13860 21056 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.015 13860 21056 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1496)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at com.android.providers.media.MediaProvider.delete(MediaProvider.java:4189)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.content.ContentProvider$Transport.delete(ContentProvider.java:339)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:206)
08-30 07:48:52.015 13860 21056 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.019 23439 23450 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.019 23439 23450 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.content.ContentProviderProxy.delete(ContentProviderNative.java:544)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.content.ContentResolver.delete(ContentResolver.java:1332)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at com.android.externalstorage.ExternalStorageProvider.deleteDocument(ExternalStorageProvider.java:414)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.provider.DocumentsProvider.call(DocumentsProvider.java:682)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
08-30 07:48:52.019 23439 23450 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.021 20717 23433 W Documents: Failed to delete document
08-30 07:48:52.021 20717 23433 W Documents: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.021 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.021 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.021 20717 23433 W Documents:	at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)
08-30 07:48:52.021 20717 23433 W Documents:	at android.content.ContentProviderClient.call(ContentProviderClient.java:437)
08-30 07:48:52.021 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1018)
08-30 07:48:52.021 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1002)
08-30 07:48:52.021 20717 23433 W Documents:	at java.lang.reflect.Method.invoke(Native Method)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.impl.local.a.d(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.d.b(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.d.a(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.fs.b.ab.task(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.a.a.executeHelper(Unknown Source)
08-30 07:48:52.021 20717 23433 W Documents:	at com.estrongs.a.b.run(Unknown Source)
08-30 07:48:52.063 13860 14759 E SQLiteLog: (1) no such function: _COVER_REMOVED
08-30 07:48:52.064 13860 14759 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.064 13860 14759 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1496)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at com.android.providers.media.MediaProvider.delete(MediaProvider.java:4189)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.content.ContentProvider$Transport.delete(ContentProvider.java:339)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:206)
08-30 07:48:52.064 13860 14759 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.068 23439 23451 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.068 23439 23451 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.content.ContentProviderProxy.delete(ContentProviderNative.java:544)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.content.ContentResolver.delete(ContentResolver.java:1332)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at com.android.externalstorage.ExternalStorageProvider.deleteDocument(ExternalStorageProvider.java:414)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.provider.DocumentsProvider.call(DocumentsProvider.java:682)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
08-30 07:48:52.068 23439 23451 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.069 20717 23433 W Documents: Failed to delete document
08-30 07:48:52.069 20717 23433 W Documents: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.069 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.069 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.069 20717 23433 W Documents:	at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)
08-30 07:48:52.069 20717 23433 W Documents:	at android.content.ContentProviderClient.call(ContentProviderClient.java:437)
08-30 07:48:52.069 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1018)
08-30 07:48:52.069 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1002)
08-30 07:48:52.069 20717 23433 W Documents:	at java.lang.reflect.Method.invoke(Native Method)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.impl.local.a.d(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.d.b(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.d.a(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.fs.b.ab.task(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.a.a.executeHelper(Unknown Source)
08-30 07:48:52.069 20717 23433 W Documents:	at com.estrongs.a.b.run(Unknown Source)
08-30 07:48:52.106 13860 13874 E SQLiteLog: (1) no such function: _COVER_REMOVED
08-30 07:48:52.107 13860 13874 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.107 13860 13874 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1496)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at com.android.providers.media.MediaProvider.delete(MediaProvider.java:4189)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.content.ContentProvider$Transport.delete(ContentProvider.java:339)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:206)
08-30 07:48:52.107 13860 13874 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.108 23439 23450 E DatabaseUtils: Writing exception to parcel
08-30 07:48:52.108 23439 23450 E DatabaseUtils: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.content.ContentProviderProxy.delete(ContentProviderNative.java:544)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.content.ContentResolver.delete(ContentResolver.java:1332)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at com.android.externalstorage.ExternalStorageProvider.deleteDocument(ExternalStorageProvider.java:414)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.provider.DocumentsProvider.call(DocumentsProvider.java:682)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
08-30 07:48:52.108 23439 23450 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:453)
08-30 07:48:52.109 20717 23433 W Documents: Failed to delete document
08-30 07:48:52.109 20717 23433 W Documents: android.database.sqlite.SQLiteException: no such function: _COVER_REMOVED (code 1): , while compiling: DELETE FROM files WHERE _data LIKE ?1 AND lower(_data)=lower(?2)
08-30 07:48:52.109 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
08-30 07:48:52.109 20717 23433 W Documents:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-30 07:48:52.109 20717 23433 W Documents:	at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)
08-30 07:48:52.109 20717 23433 W Documents:	at android.content.ContentProviderClient.call(ContentProviderClient.java:437)
08-30 07:48:52.109 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1018)
08-30 07:48:52.109 20717 23433 W Documents:	at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1002)
08-30 07:48:52.109 20717 23433 W Documents:	at java.lang.reflect.Method.invoke(Native Method)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.impl.local.a.d(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.impl.local.i.a(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.d.b(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.d.a(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.fs.b.ab.task(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.a.a.executeHelper(Unknown Source)
08-30 07:48:52.109 20717 23433 W Documents:	at com.estrongs.a.b.run(Unknown Source)

Edit: Resolved -- I needed to wipe Media Storage.