Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got the following error after submitting the honeypot configuration form:
Fatal error: Call to undefined function ctype_digit() in .../sites/all/modules/honeypot/honeypot.admin.inc on line 158
The site is running on Drupal 7.29
Other relevant modules: Webform 7.x-4.0-rc4
regards
Marko
Comments
Comment #1
palamida CreditAttribution: palamida commentedit seems that the only problem was my poor developer myself
After enabling the PHP ctype extension in the AMPPS environment everything is fine
Comment #2
geerlingguy CreditAttribution: geerlingguy commentedThe best problems are those that fix themselves :)
For future reference (anyone finding this issue via Google or something like that, this function has been in PHP since 4.x days, and is enabled by default... but if you get this warning it means PHP may have been compiled without enabling ctype. See http://us2.php.net/manual/en/ctype.installation.php
Comment #3
palamida CreditAttribution: palamida commentedright now I don't know how it is configured in the MAMP environment (which I was using until now), but since I migrated to AMPPS recently, I ran into this error and had to manually activate the extension... it was under my nose and was extremely easy to do it via the AMPPS extension manager but yes, it came with ctype extension DISABLED