'failed to obtain WP configuration' Error

apnscpvwh wasn’t added back to /etc/nsswitch.conf.

This will fix it for you.