if you find that version upload to domain via FTP and manually install
the if else says that if you have the function avaiable you”use it, otherwise you’ll not use it
if you are sure that you don’t have the function avaiable on your server you could just delete the call to function as explained in the second post. i tried and it works well