Call to undefined function drupal_strtolower()

Created on 26 April 2018, over 6 years ago
Updated 16 May 2023, over 1 year ago

I'm getting the following error intermittently showing up in my logs. I think this module might be doing some operations before includes/unicode.inc is loaded, (for example, in hook_init() or hook_boot()) and not properly checking for the availability of core functions.

Call to undefined function drupal_strtolower() in drupal/sites/all/modules/contrib/acquia_purge/acquia_purge.module on line 794

Note: I was also seeing a lot of PHP errors about calls to drupal_get_path_alias() from url(), but I have applied this patch β†’ to mitigate those issues and I am not sure they are caused by this module, but I suspect they may be related.

I'm filing this issue as major as these PHP fatals are causing site downtime. I haven't found a solution yet but will continue to work on it. Posting here in case anyone else is having the same problem and/or working on a fix!

πŸ› Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jenlampton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024