PlayOnLinux asks for wine 4.2

I have seen this error message

Error in POL_Wine_InstallVersion
Unable to find version: 4.2

when tried to install some program with PlayOnLinux.

You need to install the newest version of PlayOnLinux with

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_bionic.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

and then retry installation of the program.

If you can't (or do not want to) get PlayOnLinux from the repository, then you can install directly from deb-file:

cd ~/Downloads
wget https://www.playonlinux.com/script_files/PlayOnLinux/4.3.4/PlayOnLinux_4.3.4.deb
sudo apt-get install ./PlayOnLinux_4.3.4.deb