strangerstudios / paid-memberships-pro

The Trusted Membership Platform That Grows with You: Restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
468 stars 360 forks source link

Unable to clear session lock record & failed to read session data: memcached #1067

Open ipokkel opened 5 years ago

ipokkel commented 5 years ago

Describe the bug A clear and concise description of what the bug is. Please be as descriptive as possible; issues lacking detail, or for any other reason than to report a bug, may be closed or left unattended.

When session_start() is called WordPress debug log returns: Unable to clear session lock record in /public_html/wp/wp-content/plugins/paid-memberships-pro/includes/sessions.php on line 21 Failed to read session data: memcached path(server1-IP:11211;server2-IP:11211;server3-IP:11211) in /public_html/wp/wp-content/plugins/paid-memberships-pro/includes/sessions.php on line 21

Isolating the problem (mark completed items with an [x]):

WordPress Environment

``` Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Paid Memberships Pro and any related plugins versions. ```

PMPro v2.0.7 PHP v7.3.3 WordPress v5.2.2

Memcached Version | 3.1.3 libmemcached version | 1.0.18

ipokkel commented 5 years ago

Researching the topic hints that this may be a bug with PHP 7+ and/or Memcached