You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I get a error in the server logs stating: TypeError: path must be a string.
I20170725-13:08:42.210(2)? Exception in callback of async function: TypeError: path must be a string
I20170725-13:08:42.211(2)? at Object.fs.stat (fs.js:682:11)
I20170725-13:08:42.211(2)? at [object Object].self.delete (packages/jalik:ufs-local/ufs-local.js:97:16)
I20170725-13:08:42.211(2)? at Object.<anonymous> (packages/jalik:ufs/ufs-store.js:406:13)
I20170725-13:08:42.212(2)? at packages/matb33_collection-hooks/remove.js:32:1
I20170725-13:08:42.212(2)? at Function._.each._.forEach (packages/underscore/underscore.js:108:1)
I20170725-13:08:42.212(2)? at packages/matb33_collection-hooks/remove.js:31:1
I20170725-13:08:42.213(2)? at Function._.each._.forEach (packages/underscore/underscore.js:108:1)
I20170725-13:08:42.213(2)? at Object.CollectionHooks.defineAdvice.self (packages/matb33_collection-hooks/remove.js:30:1)
I20170725-13:08:42.213(2)? at Object.collection.(anonymous function) [as remove] (packages/matb33_collection-hooks/collection-hooks.js:120:1)
I20170725-13:08:42.213(2)? at [object Object].remove (packages/mongo/collection.js:624:29)
I double checked if the image I was removing had a path, and it did ('/home/stefan/uploads/images/campaigns/oPbhzZK6iyyAcLKYL.png'). I also checked the demo project to see if there was another way of removing images, but the demo also used .remove().
How can I fix this?
The text was updated successfully, but these errors were encountered:
So I'm trying to remove a image from my Images collection by using
However I get a error in the server logs stating: TypeError: path must be a string.
I double checked if the image I was removing had a path, and it did ('/home/stefan/uploads/images/campaigns/oPbhzZK6iyyAcLKYL.png'). I also checked the demo project to see if there was another way of removing images, but the demo also used .remove().
How can I fix this?
The text was updated successfully, but these errors were encountered: