Call to undefined function Kirby\Toolkit\ctype_digit()

I have a fully functional Kirby v3.5.7.1 site running just fine. I copied over all the site file to a new host and I’m getting an error message that reads, “Call to undefined function Kirby\Toolkit\ctype_digit()”. The new host has PHP v 7.4.10 installed. Any assistance would be greatly appreciated. I’m stuck.

I found this related post that was helpful. I changed the PHP version to 7.3 and it solved the problem.

Better yet I installed/enabled the ctype functions for PHP version 7.4 and now I can use version 7.4 for my install. So overall this problem is a result of not having the ctype functions enabled on your PHP version.