Plank thrash docklet is not working

I installed manjaro with XFCE recently. I installed plank but the thrash docklet doesn’t seem to launch anything when clicked, everything else works perfectly. I found this (https :// ) an old topic with my exact problem but no solution.

When I started plank from terminal to see the error it gives while trying to use trash, it gave:

[CRITICAL 19:59:45.845624] [System:201] Operation not supported
[CRITICAL 19:59:45.845696] [System:206] Unable to use application/file '(null)' for execution.

I will be grateful for any help provided.