Well I managed to fix the problem by following the recommendation in this thread: https://forum.manjaro.org/t/falied-to-start-light-display-manager-nvidia-340xx-drivers-related/91574
By editing /etc/X11/xorg.conf file or in my case /etc/X11/mhwd.d/nvidia.conf in this file we need to add this lines at the end:
sudo nano nvidia.conf
Section “ServerFlags”
Option “IgnoreABI” “true”
EndSection
Then everything was working again untill I updated my Nvidia drivers. I was getting a Failed to initialize the NVIDIA kernel module error.
I fixed this by installing nvidia-dkms as was suggested in the thread below.
https://www.reddit.com/r/archlinux/comments/qjt2ks/failed_to_initialize_the_nvidia_kernel_module/