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.

CommentFileSizeAuthor
#6 revert.patch2.71 KBJeremy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hayesha created an issue. See original summary.

hayesha’s picture

Issue summary: View changes
Fabianx’s picture

Oops, we are very sorry for that. We accidentally added a PHP 7 only function.

We will be releasing a fix shortly.

Fabianx’s picture

This 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.

Jeremy’s picture

Assigned: Unassigned » Jeremy

Problematic patch reverted -- keeping this open until 7.x-1.8 is released:
https://git.drupalcode.org/project/memcache/-/commit/3b22772d4c3d8702c18...

Jeremy’s picture

FileSize
2.71 KB

@hayesha are you able to apply the attached patch and confirm everything works correctly, and there are no further similar problems?

hayesha’s picture

Dear @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.

Jeremy’s picture

Status: Active » Fixed

Thank 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.