I forgot to activate wishlist plugin it’s now working after activating it sorry for confusion. So add to cart and wishlist are functioning properly now 🙂
The delete cache isn’t working as it gives me the fatal error.
Thanks.