Pamac is not working, however pacman and paru are working

Pamac stopped working for AUR - #16 by philm

sudo rm -Rf /var/tmp/pamac/dbs/sync
mkdir -p /var/tmp/pamac/dbs/sync
pamac update -a --force-refresh

sudo rm - to delete pamac sync folder as root
mkdir - to re-create sync folder with Read and Write permissons for $USER