Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Dear Sir/Madam,
Today I updated the module to the latest update (7.x-1.7) and my website crashed. After disabling the module only I could get the website loading. I found the following error message in the apache error log.
Cleared the drupal cache: drush cc all
Restarted the server, but still the issue persists.
PHP Fatal error: Call to undefined function error_clear_last() in /path/to/root/sites/all/modules/memcache/dmemcache.inc on line 286.
- Drupal Core:7.72
- Memcache module: 7.x-1.7
Due to this I'm loosing the memcache server for the website, which is disaster. Looking forward for a favorable reply at your earliest convenience.
Comment | File | Size | Author |
---|---|---|---|
#6 | revert.patch | 2.71 KB | Jeremy |
Comments
Comment #2
hayesha CreditAttribution: hayesha commentedComment #3
Fabianx CreditAttribution: Fabianx at Tag1 Consulting commentedOops, we are very sorry for that. We accidentally added a PHP 7 only function.
We will be releasing a fix shortly.
Comment #4
Fabianx CreditAttribution: Fabianx at Tag1 Consulting commentedThis was caused by: #2981613: track_error INI directive is deprecated in PHP 7.2
Reverting it and releasing a 7.x-1.8 should be simple.
Comment #5
Jeremy CreditAttribution: Jeremy at Tag1 Consulting commentedProblematic patch reverted -- keeping this open until 7.x-1.8 is released:
https://git.drupalcode.org/project/memcache/-/commit/3b22772d4c3d8702c18...
Comment #6
Jeremy CreditAttribution: Jeremy at Tag1 Consulting commented@hayesha are you able to apply the attached patch and confirm everything works correctly, and there are no further similar problems?
Comment #7
hayesha CreditAttribution: hayesha commentedDear @jeremy,
Applied the patch and managed to get the website running having the memcache server connected.
Thank you for the prompt attention to my request and assisting to resolve the issue.
Regards.
Comment #8
Jeremy CreditAttribution: Jeremy at Tag1 Consulting commentedThank you for reporting the problem, and testing the fix, saving other people from having the same problem! I have also run a regression test on PHP 5.6 (I don't currently have an older PHP available for testing, though ideally we should be running a full regression on PHP 5.1 which we still aim to support.)
7.x-1.8 is now released.