• Hi,

    Really like the Give plugin and for the most part it seems to be working and very interested in purchasing some add-ons. However after I enable the plugin I get the following error:

    Warning: session_start(): Cannot find save handler 'memcache' - session startup failed in public_html/wp-content/plugins/give/includes/class-give-session.php on line 371

    I am using the most up to date version of wordpress, the plugin and have attempted to uninstall and reinstall but it persists. Also tried disabling other plugins.

    Any assistance would be most appreciated.

    https://ww.wp.xz.cn/plugins/give/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter oliverchambers

    (@oliverchambers)

    when I complete a transaction I also get the following error:

    Warning: Cannot modify header information - headers already sent by (output started at /var/sites/m/mwscouts.org/public_html/wp-content/plugins/give/includes/class-give-session.php:371) in /var/sites/m/mwscouts.org/public_html/wp-includes/pluggable.php on line 1174

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Looks like you’re having some issues with caching. Memcache is a type of caching and it looks like it’s negatively affecting your user “Session” with Give.

    Here’s a few items to look into:
    1) If you have a caching plugin, disable it while testing. If that resolves the issue, reach out to the plugin author about it. But let me know what they say as well.
    2) What host are you on? Some hosts have very aggressive caching. Reach out to them about the issue as well.
    3) If you could post a link to your System Info for me to review that’d be great. Go to “Donations > Settings > System Info” for that.

    Let me know what you find on those three items and we’ll work it out from there.

    Thanks!

    Thread Starter oliverchambers

    (@oliverchambers)

    Hi Matt,

    Thanks for quick reply.

    1) I don’t have any caching plugins enabled. I
    2) I am using TSO Host as my hosting https://www.tsohost.com
    3)

    ### Begin System Info ###
    
    -- Site Info
    
    Site URL:                 https://nord2017.mwscouts.org
    Home URL:                 https://nord2017.mwscouts.org
    Multisite:                Yes
    
    -- Hosting Provider
    
    Host:                     DBH: 10.169.0.3, SRV: nord2017.mwscouts.org
    
    -- User Browser
    
    Platform:                 Apple
    Browser Name:             Safari
    Browser Version:          9.1.1
    User Agent String:        Mozilla/5.0 (Macintosh; Intel Ma
    			  c OS X 10_11_5) AppleWebKit/601.
                              6.17 (KHTML, like Gecko) Version
                              /9.1.1 Safari/601.6.17
    
    -- WordPress Configuration
    
    Version:                  4.6
    Language:                 en_US
    Permalink Structure:      /%year%/%monthnum%/%day%/%postname%/
    Active Theme:             Eventbrite WordPress theme 1.0
    Show On Front:            page
    Page On Front:            Home (#5)
    Page For Posts:           Blog (#246)
    Remote Post:              wp_remote_post() works
    Table Prefix:             Length: 5   Status: Acceptable
    Admin AJAX:               Accessible
    WP_DEBUG:                 Disabled
    Memory Limit:             64M
    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, cancelled, abandoned
    
    -- Give Configuration
    
    Version:                  1.6
    Upgraded From:            1.6
    Test Mode:                Disabled
    Currency Code:            GBP
    Currency Position:        before
    Decimal Separator:        .
    Thousands Separator:      ,
    
    -- Give Page Configuration
    
    Success Page:             https://nord2017.mwscouts.org/donation-confirmation/
    Failure Page:             https://nord2017.mwscouts.org/transaction-failed/
    Give Forms Slug:           /donations
    
    -- Give Gateway Configuration
    
    Enabled Gateways:         Offline Donation
    Default Gateway:          Offline Donation
    
    -- Must-Use Plugins
    
    -- WordPress Active Plugins
    
    Akismet: 3.1.11
    Contact Form 7: 4.5
    Contact Form 7 MailChimp Extension: 0.4.30
    Cookie Confirm: 0.4
    Force Regenerate Thumbnails: 2.0.5
    Give - Donation Plugin: 1.6
    MailChimp Activity: 1.0.4
    MailChimp for WordPress: 4.0.3
    Really Simple SSL: 2.3.13
    Theme Check: 20160523.1
    Typeform: 0.6
    Yoast SEO: 3.4.2
    
    -- WordPress Inactive Plugins
    
    Charitable: 1.4.1
    Contact Form 7 Honeypot: 1.9
    Cookie Notice: 1.2.36.1
    Custom Instagram Widget: 1.1
    Donation Thermometer: 1.3.13
    Eventbrite API: 1.0.11
    Eventbrite Attendees Shortcode: 1.1.3
    Event Organiser: 3.1.3
    Event Organiser Posterboard: 2.1.0
    Instagram Feed: 1.4.7
    Instagram Feed WD: 1.1.8
    Jetpack by WordPress.com: 4.2.2
    Keyring: 1.6.2
    MailChimp for WordPress - Top Bar: 1.2.13
    Redirection: 2.4.5
    Seamless Donations: 4.0.17
    Simple Org Chart: 2.0
    SSL Insecure Content Fixer: 2.1.6
    Stripe for WooCommerce: 1.38
    Tech Instagram Feed: 2.2
    Wired Impact Volunteer Management: 1.1
    WooCommerce: 2.6.4
    WooCommerce Prices By User Role: 2.5.0
    Woo Import Export: 1.2
    WordPress Importer: 0.6.3
    WordPress MU Domain Mapping: 0.5.5.1
    WordPress Virgin Money Giving: 1.1.3
    WP Retina 2x: 4.5.5
    WP Store Locator: 2.2.4
    WPtouch Mobile Plugin: 4.2.4
    WP User Groups: 0.2.1
    YouTube Embed: 5.0
    
    -- Network Active Plugins
    
    Cookie Notice: 1.2.36.1
    Event Organiser Posterboard: 2.1.0
    Event Organiser: 3.1.3
    Jetpack by WordPress.com: 4.2.2
    Keyring: 1.6.2
    Redirection: 2.4.5
    WordPress Importer: 0.6.3
    WordPress MU Domain Mapping: 0.5.5.1
    WP Retina 2x: 4.5.5
    WP Store Locator: 2.2.4
    WP User Groups: 0.2.1
    
    -- Webserver Configuration
    
    PHP Version:              5.6.22
    MySQL Version:            5.6.21
    Webserver Info:           Apache
    
    -- PHP Configuration
    
    Safe Mode:                Disabled
    Memory Limit:             1024M
    Upload Max Size:          100M
    Post Max Size:            100M
    Upload Max Filesize:      100M
    Time Limit:               60
    Max Input Vars:           1000
    URL-aware fopen:          On (1)
    Display Errors:           On (1)
    
    -- PHP Extensions
    
    cURL:                     Supported
    cURL Version:             7.41.0
    zlib:                     Supported
    GD:                       Supported
    fsockopen:                Supported
    SOAP Client:              Installed
    Suhosin:                  Not Installed
    DOM:                      Installed
    MBString:                 Installed
    
    -- Session Configuration
    
    Give Use Sessions:        Enabled
    Session:                  Disabled
    
    ### End System Info ###

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    So a couple things stand out:

    1) You’re on a Mutli-site environment so what I’ll suggest below might need to be applied at the Root install
    2) The System Info shows that you have PHP Sessions disabled, that’s definitely the source of the problem. You can either ask your host to enabled them, or if they won’t, do #3
    3) You can use an alternative method for your donor sessions. Simply add this to your Root Installs wp-config.php file:
    define( 'GIVE_USE_PHP_SESSIONS' , false);

    Let me know how that goes.

Viewing 4 replies - 1 through 4 (of 4 total)

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