I had this error yesterday, I ended up having to enable the posix extension in the PHP version I was using in Web Station.
Web Station > PHP Settings > Select the PHP Version > Edit > In the Extensions section check the box next to posix > Ok
That got rid of the error for me. Now I need to find a way to add PHP extensions that aren’t in the extensions list.