Hi @ellienowels2, thanks for getting in touch.
The error mentioning “Call to undefined function WordfenceLS\ctype_digit” refers to a call that was added to the login security plugin in the 7.8.0 release, so it makes sense that the error for this would occur after the update.
However, the ctype_digit
function is a core PHP function that’s existed since around 2017 in PHP 4.0.4. We’d understand this if you were running a very very old version of PHP but this is unlikely in your case. I would certainly suggest updating your PHP version if it is!
There are 2 things we thought might be the cause of this:
?
- It could be that ctype_digit in the disable_functions setting for PHP and that might cause it. I don’t remember if PHP 7.4 makes disabled functions a fatal error if a plugin tries to call them. Reaching out to your hosting provider to ask might be necessary to know if it has been disabled and can be re-enabled.
- PHP opcache errors are much less common these days, but that might also be a possibility so restarting PHP-FPM would likely help if they’re able to restart it. If you can’t you may have to reach out to your hosting provider to do this.
Can you ?let us know what your hosting provider says?
Thanks,
Peter.