Title: memcache-error after activating
Last modified: August 25, 2017

---

# memcache-error after activating

 *  [Marco](https://wordpress.org/support/users/marcoherzog/)
 * (@marcoherzog)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/memcache-error-after-activating/)
 * I am running a wordpress multisite installation on google app engine with memcached.
   
   After activating the plugin I get an memcached-error:
 * >  Plugin could not be activated because it triggered a fatal error.
   > Fatal error: Uncaught Error: Failed to create session ID: memcached (path: 
   > 172.17.0.4:11211) in /app/wordpress/wp-content/plugins/chained-quiz/models/
   > basic.php:190
   >  Stack trace: #0 /app/wordpress/wp-content/plugins/chained-quiz/
   > models/basic.php(190): session_start() #1 /app/wordpress/wp-content/plugins/
   > chained-quiz/models/basic.php(9): ChainedQuiz::init() #2 /app/wordpress/wp-
   > includes/class-wp-hook.php(298): ChainedQuiz::install(”) #3 /app/wordpress/
   > wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /app/
   > wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /app/wordpress/
   > wp-admin/plugins.php(166): do_action(‘activate_chaine…’) #6 {main} thrown in/
   > app/wordpress/wp-content/plugins/chained-quiz/models/basic.php on line 190
 * I commented out that line 190 in basic.php.
    `//if (!session_id()) @session_start();`
 * For now everything seems to be working (until the next update), but I guess the
   session is needed somewhere else if not found.
    Eg. contollers/quizzes.php line
   161 or models/quiz.php line 108 `if(!empty($_SESSION['chained_completion_id'])){`
 * [https://cloud.google.com/appengine/docs/standard/php/runtime#PHP_Sessions](https://cloud.google.com/appengine/docs/standard/php/runtime#PHP_Sessions)
 * Any help appreciated.
    Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bob](https://wordpress.org/support/users/prasunsen/)
 * (@prasunsen)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/memcache-error-after-activating/#post-9442151)
 * Yes, session is required. You have to contact your hosting support, sessions 
   are used in so many apps, it’s not serious that they don’t have them configured.

Viewing 1 replies (of 1 total)

The topic ‘memcache-error after activating’ is closed to new replies.

 * ![](https://ps.w.org/chained-quiz/assets/icon-128x128.png?rev=2370337)
 * [Chained Quiz](https://wordpress.org/plugins/chained-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/chained-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/chained-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/chained-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/chained-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/chained-quiz/reviews/)

## Tags

 * [memcache](https://wordpress.org/support/topic-tag/memcache/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bob](https://wordpress.org/support/users/prasunsen/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/memcache-error-after-activating/#post-9442151)
 * Status: not resolved