Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37075

If memcached plugin enabled, but site doens't support it will throw a fatal error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      I upgraded my php on a site with memcached plugin already installed and configured for use so that memcached was then NOT installed.

      This caused a fatal error:
      Fatal error: Class 'Memcached' not found in /Users/danp/git/integration/cache/stores/memcached/lib.php on line 124'

      I suppose you could reproduce it by:
      1/ Enabling a memcached plugin and setting it as a store
      2/ Disabling the memcached pph exntension in your php.ini
      3/ Visiting the site

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                poltawski Dan Poltawski
                Participants:
                Component watchers:
                Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: