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 ://archived.forum.manjaro.org/t/plank-docklets-not-working/145303 ) 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.