Title: ACTIVE PHP SESSION, REST API ERROR
Last modified: October 9, 2023

---

# ACTIVE PHP SESSION, REST API ERROR

 *  Resolved [power33](https://wordpress.org/support/users/power33/)
 * (@power33)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/)
 * Hello Guys, i have worked out that this plugin is causing my site to display 
   errors in the wordpress site health.
 * Errors:
 * A PHP session was created by a `session_start()` function call. This interferes
   with REST API and loopback requests. The session should be closed by `session_write_close()`
   before making any HTTP requests.The REST API encountered an errorPerformance
 * The REST API is one way that WordPress and other applications communicate with
   the server. For example, the block editor screen relies on the REST API to display
   and save your posts and pages.
 * Once disabled errors go straight away.
 * I have found the following code in sessions.php: and think its something to do
   with.
 * if (!defined(‘PMPRO_USE_SESSIONS’) || PMPRO_USE_SESSIONS == true) {
   if (defined(‘
   STDIN’)) {//command line} else {if (version_compare(phpversion(), ‘5.4.0’, ‘>
   =’)) {if (session_status() == PHP_SESSION_NONE) {session_start();}} else {if (!
   session_id()) {session_start();}}}}}

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

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17112492)
 * Hi [@power33](https://wordpress.org/support/users/power33/)
 * Thank you for reaching out to Paid Memberships Pro, I’m sorry to hear about the
   issue you are facing here.
 * We only start the session on the checkout page and closes the session. I haven’t
   been able to replicate this issue with only Paid Memberships Pro active (I’m 
   not getting that warning).
 * Please can you provide me with your Site Health Information. To retrieve this
   information, please navigate to Tools > Site Health > Select the info option 
   at the top of the screen > Copy Information to Clipboard and include this in 
   your next reply.
 *  Thread Starter [power33](https://wordpress.org/support/users/power33/)
 * (@power33)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17113958)
 * ` wp-core</p> <p class=””>version: 6.3.1<br>site_language: en_US<br>user_language:
   en_US<br>timezone: +01:00<br>permalink: /%postname%/<br>https_status: true<br
   >multisite: false<br>user_registration: 1<br>blog_public: 1<br>default_comment_status:
   open<br>environment_type: production<br>user_count: 54<br>dotorg_communication:
   true wp-paths-sizes</p> <p class=””>wordpress_path: /home/jbmechan/public_html/
   cryptofigures<br>wordpress_size: 791.71 MB (830169405 bytes)<br>uploads_path:/
   home/jbmechan/public_html/cryptofigures/wp-content/uploads<br>uploads_size: 29.89
   GB (32095457029 bytes)<br>themes_path: /home/jbmechan/public_html/cryptofigures/
   wp-content/themes<br>themes_size: 91.92 MB (96384994 bytes)<br>plugins_path: /
   home/jbmechan/public_html/cryptofigures/wp-content/plugins<br>plugins_size: 399.23
   MB (418622174 bytes)<br>database_size: 3.00 GB (3225879984 bytes)<br>total_size:
   34.15 GB (36666513586 bytes) wp-dropins (3)</p> <p class=””>advanced-cache.php:
   true<br>maintenance.php: true<br>object-cache.php: true wp-active-theme</p> <
   p class=””>name: crypto (crypto)<br>version: 4.7.6.3<br>author: Anonymous<br>
   author_website: (undefined)<br>parent_theme: none<br>theme_features: core-block-
   patterns, avia_exclude_bbPress, deactivate_tribe_events_calendar, avia_exclude_GFForms,
   avia_exclude_menu_exchange, avia_exclude_relevanssi, avia_exclude_WooCommerce,
   avia_exclude_wpml, avia_exclude_instagram_feed, avia_mega_menu, avia_improved_backend_style,
   avia_option_pages_toggles, avia_sidebar_manager, automatic-feed-links, nav_menus,
   menus, widgets, post-formats, avia-disable-default-shortcodes, avia_post_meta_compat,
   force-post-thumbnails-in-widget, post-thumbnails, widgets-block-editor, title-
   tag, avia_no_session_support<br>theme_path: /home/jbmechan/public_html/cryptofigures/
   wp-content/themes/crypto<br>auto_update: Disabled wp-themes-inactive (1)</p> 
   <p class=””>Twenty Twenty-Three: version: 1.2, author: the WordPress team, Auto-
   updates disabled wp-plugins-active (34)</p> <p class=””>Anti-Spam by CleanTalk:
   version: 6.19.1, author: СleanTalk – Anti-Spam Protection <a href=”mailto:welcome@cleantalk.
   org”>welcome@cleantalk.org</a>, Auto-updates disabled<br>Autoremove Attachments:
   version: 1.3.1, author: Polygon Themes, Auto-updates disabled<br>BuyUcoin Cryptocurrency
   Widgets: version: 1.0.2, author: Cool Plugins, Auto-updates disabled<br>CDN Enabler:
   version: 2.0.6, author: KeyCDN, Auto-updates disabled<br>Coins MarketCap: version:
   5.2, author: Cool Plugins, Auto-updates disabled<br>Cryptocurrency Donation Box–
   Bitcoin & Crypto Donations: version: 2.2.10, author: adastracrypto.com, Auto-
   updates disabled<br>Cryptocurrency Exchanges List PRO: version: 2.8.1, author:
   Cool Plugins, Auto-updates disabled<br>Cryptocurrency Search Addon: version: 
   1.4.2, author: Cool Plugins, Auto-updates disabled<br>Cryptocurrency Widgets 
   PRO: version: 3.6.2, author: Cool Plugins, Auto-updates disabled<br>Cryptoniq:
   version: 1.9.6, author: DivEngine, Auto-updates disabled<br>Delete old posts 
   automatically Professional: version: 3.5.0, author: WPMagic, Auto-updates disabled
   <br>EWWW Image Optimizer: version: 7.2.1, author: Exactly WWW, Auto-updates disabled
   <br>GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership: version: 1.6.5,
   author: GoUrl.io, Auto-updates disabled<br>GoUrl Paid Memberships Pro – Bitcoin
   Payment Gateway Addon: version: 1.1.8, author: GoUrl.io, Auto-updates disabled
   <br>Indeed Ultimate Membership Pro: version: 11.9, author: WPIndeed Development,
   Auto-updates disabled<br>Paid Memberships Pro: version: 2.12, author: Paid Memberships
   Pro, Auto-updates disabled<br>Paid Memberships Pro – Advanced Levels Page Shortcode
   Add On: version: .2.4, author: Stranger Studios, Auto-updates disabled<br>Performance
   Lab: version: 2.6.1, author: WordPress Performance Team, Auto-updates disabled
   <br>Post List Featured Image: version: 0.5.9, author: Jagged Edge Media, Auto-
   updates disabled<br>Post SMTP: version: 2.6.1, author: Post SMTP, Auto-updates
   disabled<br>Premium Stock Market Widgets: version: 3.3.6, author: Financial apps
   and plugins <a href=”mailto:info@financialplugins.com”>info@financialplugins.
   com</a> (latest version: 4.1.1), Auto-updates disabled<br>Real-time FOREX Charts
   for WordPress: version: 1.2.1, built on Sunday, March 17, 2019, author: WebTheGap
   <a href=”mailto:mail@webthegap.com”>mail@webthegap.com</a>, Auto-updates disabled
   <br>Really Simple SSL: version: 7.1.2, author: Really Simple Plugins, Auto-updates
   disabled<br>Really Simple SSL Pro: version: 7.0.8, author: Really Simple Plugins,
   Auto-updates disabled<br>Redux Framework: version: 4.4.7, author: Team Redux,
   Auto-updates disabled<br>Site Kit by Google: version: 1.111.0, author: Google,
   Auto-updates disabled<br>UpdraftPlus – Backup/Restore: version: 2.23.10.0, author:
   UpdraftPlus.Com, DavidAnderson, Auto-updates disabled<br>Wordfence Security: 
   version: 7.10.4, author: Wordfence, Auto-updates disabled<br>WordPress Automatic
   Plugin: version: 3.74.1, author: ValvePress, Auto-updates disabled<br>Wordpress
   Auto Spinner – Post Rewriter: version: 3.6.0, author: ValvePress, Auto-updates
   disabled<br>WP Rocket: version: 3.15.0.1, author: WP Media, Auto-updates disabled
   <br>WP Telegram: version: 4.0.13, author: WP Socio, Auto-updates disabled<br>
   Yoast SEO: version: 21.3, author: Team Yoast, Auto-updates disabled<br>Yoast 
   SEO Premium: version: 21.3, author: Team Yoast, Auto-updates disabled wp-plugins-
   inactive (28)</p> <p class=””>Akismet Anti-spam: Spam Protection: version: 5.3,
   author: Automattic – Anti-spam Team, Auto-updates disabled<br>Async JavaScript:
   version: 2.21.08.31, author: Frank Goossens (futtta), Auto-updates disabled<br
   >Automatic Post Tagger: version: 1.8.2, author: Devtard, Auto-updates disabled
   <br>Ban Hammer: version: 3.1.2, author: Mika Epstein, Auto-updates disabled<br
   >Bdaia Shortcodes: version: 1.2.0, author: bdaia, Auto-updates disabled<br>Classic
   Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled<
   br>Code Snippets: version: 3.5.0, author: Code Snippets Pro, Auto-updates disabled
   <br>Contact Form 7: version: 5.8.1, author: Takayuki Miyoshi, Auto-updates disabled
   <br>Custom Sidebars: version: 3.36, author: WebFactory Ltd, Auto-updates disabled
   <br>Custom Twitter Feeds: version: 2.1.2, author: Smash Balloon, Auto-updates
   disabled<br>Database Cleaner: Clean, Optimize & Repair (Pro): version: 0.9.9,
   author: Jordy Meow, Auto-updates disabled<br>Disable Comments: version: 2.4.5,
   author: WPDeveloper, Auto-updates disabled<br>Duplicate Page and Post: version:
   2.9.3, author: Arjun Thakur, Auto-updates disabled<br>Enhanced Category Pages:
   version: 2.3.0, author: Ciprian Amariei, Diana Amitroaei, Auto-updates disabled
   <br>Extendify: version: 1.9.3, author: Extendify, Auto-updates disabled<br>Head&
   Footer Code: version: 1.3.3, author: Aleksandar Urošević, Auto-updates disabled
   <br>Login No Captcha reCAPTCHA (Google): version: 1.7.1, author: Robert Peake
   and Contributors, Auto-updates disabled<br>MonsterInsights Pro: version: 8.19,
   author: MonsterInsights, Auto-updates disabled<br>NextScripts: SNAP Pro Upgrade
   Helper: version: 1.5.10, author: NextScripts, Auto-updates disabled<br>NextScripts:
   Social Networks Auto-Poster: version: 4.4.2, author: NextScripts, Auto-updates
   disabled<br>Really Simple SSL Pro: version: 7.0.1, author: Really Simple Plugins,
   Auto-updates disabled<br>Redirection: version: 5.3.10, author: John Godley, Auto-
   updates disabled<br>Regenerate Thumbnails Advanced: version: 2.4.1, author: ShortPixel,
   Auto-updates disabled<br>Simple Sitemap: version: 3.5.10, author: David Gwyer,
   Auto-updates disabled<br>TaxoPress: version: 3.10.2, author: TaxoPress, Auto-
   updates disabled<br>WordPress Persistent Login: version: 2.0.15, author: Luke
   Seager, Auto-updates disabled<br>Wp-Insert: version: 2.5.1, author: namithjawahar,
   Auto-updates disabled<br>WP Show Posts: version: 1.1.4, author: Tom Usborne, 
   Auto-updates disabled wp-media</p> <p class=””>image_editor: EWWWIO_Imagick_Editor
   <br>imagick_module_version: 1692<br>imagemagick_version: ImageMagick 6.9.12-93
   Q16 x86_64 17898 [https://legacy.imagemagick.org<br>imagick_version](https://legacy.imagemagick.org<br>imagick_version):
   3.7.0<br>file_uploads: File uploads is turned off<br>post_max_size: 512M<br>upload_max_filesize:
   256M<br>max_effective_size: 256 MB<br>max_file_uploads: 20<br>gd_version: bundled(
   2.1.0 compatible)<br>gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM<br>ghostscript_version:
   9.27 wp-server</p> <p class=””>server_architecture: Linux 4.18.0-477.13.1.el8_8.
   x86_64 x86_64<br>httpd_software: Apache<br>php_version: 7.4.33 64bit<br>php_sapi:
   cgi-fcgi<br>max_input_variables: 1000<br>time_limit: 180<br>memory_limit: 512M
   <br>max_input_time: 180<br>upload_max_filesize: 256M<br>php_post_max_size: 512M
   <br>curl_version: 7.61.1 OpenSSL/1.1.1k<br>suhosin: false<br>imagick_availability:
   true<br>pretty_permalinks: true<br>htaccess_extra_rules: true<br>current: 2023-
   10-10T16:13:54+00:00<br>utc-time: Tuesday, 10-Oct-23 16:13:54 UTC<br>server-time:
   2023-10-10T17:13:48+01:00 wp-database</p> <p class=””>extension: mysqli<br>server_version:
   8.0.34<br>client_version: mysqlnd 7.4.33<br>max_allowed_packet: 268435456<br>
   max_connections: 151 wp-constants</p> <p class=””>WP_HOME: undefined<br>WP_SITEURL:
   undefined<br>WP_CONTENT_DIR: /home/jbmechan/public_html/cryptofigures/wp-content
   <br>WP_PLUGIN_DIR: /home/jbmechan/public_html/cryptofigures/wp-content/plugins
   <br>WP_MEMORY_LIMIT: 40M<br>WP_MAX_MEMORY_LIMIT: 512M<br>WP_DEBUG: false<br>WP_DEBUG_DISPLAY:
   true<br>WP_DEBUG_LOG: false<br>SCRIPT_DEBUG: false<br>WP_CACHE: true<br>CONCATENATE_SCRIPTS:
   undefined<br>COMPRESS_SCRIPTS: undefined<br>COMPRESS_CSS: undefined<br>WP_ENVIRONMENT_TYPE:
   Undefined<br>WP_DEVELOPMENT_MODE: undefined<br>DB_CHARSET: utf8mb4<br>DB_COLLATE:
   undefined wp-filesystem</p> <p class=””>wordpress: writable<br>wp-content: writable
   <br>uploads: writable<br>plugins: writable<br>themes: writable<br>0: Writable
   redux-framework</p> <p class=””>version: 4.4.7<br>installation: plugin<br>data
   directory: /home/jbmechan/public_html/cryptofigures/wp-content/plugins/redux-
   framework/redux-core/<br>browser:<br>Agent: Mozilla/5.0 (iPhone; CPU iPhone OS
   17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/118.0.5993.58
   Mobile/15E148 Safari/604.1<br>Browser: Chrome<br>Version: 118.0.5993.58<br>Platform:
   iPhone redux-instance-cryptoniq_option</p> <p class=””>opt_name: cryptoniq_option
   <br>global_variable: cryptoniq_option<br>dev_mode: false<br>ajax_save: true<br
   >page_slug: cryptoniq<br>page_permissions: manage_options<br>menu_type: menu<
   br>page_parent: themes.php<br>compiler: true<br>output: true<br>output_tag: false
   <br>templates_path: undefined<br>extensions:<br>Accordion: 4.3.16<br>Custom Fonts:
   4.4.2<br>Customizer: 4.4.2<br>Datetime: 4.3.15<br>Google Maps: 4.4.0<br>Icon 
   Select: 4.4.2<br>Import Export: 4.0.0<br>Js Button: 4.3.16<br>Metaboxes: 4.2.0
   <br>Multi Media: 4.4.1<br>Options Object: 4.0.0<br>Repeater: 4.3.13<br>Search:
   3.4.5<br>Shortcodes: 4.3.6<br>Social Profiles: 4.3.17<br>Taxonomy: 4.4.6<br>Users:
   4.4.1<br>Widget Areas: 4.3.20 google-site-kit</p> <p class=””>version: 1.111.0
   <br>php_version: 7.4.33<br>wp_version: 6.3.1<br>reference_url: [https://www.cryptofigures.com<br>amp_mode](https://www.cryptofigures.com<br>amp_mode):
   no<br>site_status: connected-site<br>user_status: authenticated<br>verification_status:
   verified-file<br>connected_user_count: 1<br>active_modules: site-verification,
   search-console, analytics, analytics-4, pagespeed-insights<br>recoverable_modules:
   none<br>required_scopes:<br>openid: ✅<br>[https://www.googleapis.com/auth/userinfo.profile](https://www.googleapis.com/auth/userinfo.profile):
   ✅<br>[https://www.googleapis.com/auth/userinfo.email](https://www.googleapis.com/auth/userinfo.email):
   ✅<br>[https://www.googleapis.com/auth/siteverification](https://www.googleapis.com/auth/siteverification):
   ✅<br>[https://www.googleapis.com/auth/webmasters](https://www.googleapis.com/auth/webmasters):
   ✅<br>[https://www.googleapis.com/auth/analytics.readonly](https://www.googleapis.com/auth/analytics.readonly):
   ✅<br>capabilities:<br>googlesitekit_authenticate: ✅<br>googlesitekit_setup:
   ✅<br>googlesitekit_view_posts_insights: ✅<br>googlesitekit_view_dashboard: 
   ✅<br>googlesitekit_manage_options: ✅<br>googlesitekit_update_plugins: ✅<br
   >googlesitekit_view_splash: ✅<br>googlesitekit_view_authenticated_dashboard:
   ✅<br>googlesitekit_view_wp_dashboard_widget: ✅<br>googlesitekit_view_admin_bar_menu:
   ✅<br>googlesitekit_view_shared_dashboard: ⭕<br>googlesitekit_read_shared_module_data::[“
   search-console”]: ⭕<br>googlesitekit_read_shared_module_data::[“analytics”]:
   ⭕<br>googlesitekit_read_shared_module_data::[“analytics-4”]: ⭕<br>googlesitekit_read_shared_module_data::[“
   pagespeed-insights”]: ⭕<br>googlesitekit_manage_module_sharing_options::[“search-
   console”]: ✅<br>googlesitekit_manage_module_sharing_options::[“analytics”]: 
   ✅<br>googlesitekit_manage_module_sharing_options::[“analytics-4”]: ✅<br>googlesitekit_manage_module_sharing_options::[“
   pagespeed-insights”]: ✅<br>googlesitekit_delegate_module_sharing_management::[“
   search-console”]: ✅<br>googlesitekit_delegate_module_sharing_management::[“analytics”]:
   ✅<br>googlesitekit_delegate_module_sharing_management::[“analytics-4”]: ✅<br
   >googlesitekit_delegate_module_sharing_management::[“pagespeed-insights”]: ⭕
   <br>enabled_features:<br>adsenseSetupV2: ✅<br>enhancedMeasurement: ⭕<br>ga4Reporting:
   ✅<br>gm3Components: ⭕<br>newsKeyMetrics: ⭕<br>userInput: ⭕<br>search-console_shared_roles:
   none<br>search-console_management: owner<br>analytics_shared_roles: none<br>analytics_management:
   owner<br>analytics-4_shared_roles: none<br>analytics-4_management: owner<br>pagespeed-
   insights_shared_roles: none<br>pagespeed-insights_management: all_admins<br>search_console_property:
   [https://www.cryptofigures.com/<br>analytics_account_id](https://www.cryptofigures.com/<br>analytics_account_id):
   1593•••••<br>analytics_property_id: UA-1593•••••••<br>analytics_profile_id: 2123•••••
   <br>analytics_use_snippet: yes<br>analytics_4_property_id: 3471283••<br>analytics_4_web_data_stream_id:
   4369••••••<br>analytics_4_measurement_id: G-MX••••••••<br>analytics_4_use_snippet:
   yes pmpro</p> <p class=””>pmpro-cron-jobs: pmpro_cron_expire_memberships (2023-
   10-10 16:42:27) |<br>pmpro_cron_expiration_warnings (2023-10-10 16:42:28) |<br
   >pmpro_cron_stripe_subscription_updates (2023-10-11 00:42:27) |<br>pmpro_cron_admin_activity_email(
   2023-10-11 09:30:00) |<br>pmpro_cron_delete_tmp (2023-10-11 09:30:00) |<br>pmpro_cron_credit_card_expiring_warnings(
   2023-11-09 00:42:27) |<br>pmpro_license_check_key (2023-11-09 00:42:27)<br>pmpro-
   gateway: GoUrl Bitcoin/Altcoins [gourl]<br>pmpro-gateway-env: Live/Production[
   live]<br>pmpro-orders: 40 orders<br>pmpro-discount-codes: 0 discount codes<br
   >pmpro-sessions:<br>session_status: Active<br>pmpro-membership-levels: {<br>”
   1″: {<br>”id”: “1”,<br>”name”: “Free Membership”,<br>”description”: “</p> <ul
   > <li>\r\nLife Time Access to\u00a0<a href=”\"https:\/\/www.cryptofigures.com\/
   tag\/public\/\"”>Public<\/a> Website<\/h5>\r\n<\/li>\r\n \t</a><a href=”\"https:\/\/
   www.cryptofigures.com\/tag\/public\/\"”>\r\n</a><a href=”\"https:\/\/www.cryptofigures.
   com\/tag\/public\/\"”>$0<\/h5>\r\n<\/li>\r\n<\/ul>”,<br>”confirmation”: “”,<br
   >”initial_payment”: 0,<br>”billing_amount”: 0,<br>”cycle_number”: “0”,<br>”cycle_period”:“”,
   <br>”billing_limit”: “0”,<br>”trial_amount”: 0,<br>”trial_limit”: “0”,<br>”allow_signups”:“
   1”,<br>”expiration_number”: “0”,<br>”expiration_period”: “”<br>},<br>”2″: {<br
   >”id”: “2”,<br>”name”: “ELITE MEMBERSHIP – Life Time Access”,<br>”description”:“
   </a> <ul> <li><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>\r\
   n</a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>Daily Trade
   Signals<\/h5>\r\n<\/li>\r\n \t</a><a href=”\"https:\/\/www.cryptofigures.com\/
   tag\/public\/\"”>\r\n</a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”
   >Access To Trading Training Guides<\/h5>\r\n<\/li>\r\n \t</a><a href=”\"https:\/\/
   www.cryptofigures.com\/tag\/public\/\"”>\r\n</a><a href=”\"https:\/\/www.cryptofigures.
   com\/tag\/public\/\"”>Lifetime Access to Forex Foundation Course<\/h5>\r\n<\/
   li>\r\n \t</a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>\r\
   n</a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>Access to Restricted
   User Forums<\/h5>\r\n<\/li>\r\n<\/ul>”,<br>”confirmation”: “”,<br>”initial_payment”:
   100,<br>”billing_amount”: 0,<br>”cycle_number”: “0”,<br>”cycle_period”: “”,<br
   >”billing_limit”: “0”,<br>”trial_amount”: 0,<br>”trial_limit”: “0”,<br>”allow_signups”:“
   1”,<br>”expiration_number”: “0”,<br>”expiration_period”: “”<br>},<br>”3″: {<br
   >”id”: “3”,<br>”name”: “ULTRA MEMBERSHIP – Lifetime Access”,<br>”description”:“
   </a> <ul> <li><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>\r\
   n</a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/public\/\"”>Daily Trade
   Signals Access to User Forums Swing\u00a0</a><a href=”\"https:\/\/www.cryptofigures.
   com\/tag\/trading-signals\/\"”>Trading Signals<\/a><\/h5>\r\n<\/li>\r\n \t</a
   ><a href=”\"https:\/\/www.cryptofigures.com\/tag\/trading-signals\/\"”>\r\n</
   a><a href=”\"https:\/\/www.cryptofigures.com\/tag\/trading-signals\/\"”></a><
   a href=”\"https:\/\/www.cryptofigures.com\/tag\/breakout\/\"”>Breakout<\/a> Signals
   <\/h5>\r\n<\/li>\r\n \t\r\nWeekly Videos<\/h5>\r\n<\/li>\r\n \t\r\nFull Access
   To Full Forex Course<\/h5>\r\n<\/li>\r\n \t\r\n5 Custom Indicators Every Month
   <\/h5>\r\n<\/li>\r\n<\/ul>”,<br>”confirmation”: “”,<br>”initial_payment”: 250,
   <br>”billing_amount”: 0,<br>”cycle_number”: “0”,<br>”cycle_period”: “”,<br>”billing_limit”:“
   0”,<br>”trial_amount”: 0,<br>”trial_limit”: “0”,<br>”allow_signups”: “1”,<br>”
   expiration_number”: “0”,<br>”expiration_period”: “”<br>}<br>}<br>pmpro-custom-
   templates: No template overrides<br>pmpro-getfile-usage: PMPRO_GETFILE_ENABLED
   is not set<br>pmpro-htaccess-cache-usage: Off<br>pmpro-pages:<br>account: [https://www.cryptofigures.com/my-account/<br>billing](https://www.cryptofigures.com/my-account/<br>billing):
   [https://www.cryptofigures.com/membership-account/membership-billing/<br>cancel](https://www.cryptofigures.com/membership-account/membership-billing/<br>cancel):
   [https://www.cryptofigures.com/membership-account/membership-cancel/<br>checkout](https://www.cryptofigures.com/membership-account/membership-cancel/<br>checkout):
   [https://www.cryptofigures.com/membership-account/membership-checkout/<br>confirmation](https://www.cryptofigures.com/membership-account/membership-checkout/<br>confirmation):
   [https://www.cryptofigures.com/membership-account/membership-confirmation/<br>invoice](https://www.cryptofigures.com/membership-account/membership-confirmation/<br>invoice):
   [https://www.cryptofigures.com/membership-account/membership-invoice/<br>levels](https://www.cryptofigures.com/membership-account/membership-invoice/<br>levels):
   [https://www.cryptofigures.com/membership-account/premium/<br>login](https://www.cryptofigures.com/membership-account/premium/<br>login):
   [https://www.cryptofigures.com/member-login/<br>member_profile_edit](https://www.cryptofigures.com/member-login/<br>member_profile_edit):
   [https://www.cryptofigures.com/my-account/<br>pmpro-library-conflicts](https://www.cryptofigures.com/my-account/<br>pmpro-library-conflicts):
   No library conflicts detected.<br>pmpro-outdated-templates: No outdated templates
   detected.<br>pmpro-current-site-url: [https://www.cryptofigures.com<br>pmpro-recorded-site-url](https://www.cryptofigures.com<br>pmpro-recorded-site-url):
   [https://www.cryptofigures.com<br>pmpro-pause-mode](https://www.cryptofigures.com<br>pmpro-pause-mode):
   Disabled `
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17115247)
 * Would you mind testing this with the default payment gateway and temporarily 
   disable your GOURL crypto gateway?
 * As mentioned, we’re unable to replicate this issue on my end. Can you confirm
   it happens only with Paid Memberships Pro active and no other plugins?
 * Disabling Paid Memberships Pro would deactivate functionality of other plugins
   or custom code that relies on PMPro and this might be causing the issue on your
   site.
 *  Thread Starter [power33](https://wordpress.org/support/users/power33/)
 * (@power33)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17117062)
 * I can now confirm issues was linked to “**GoUrl Paid Memberships Pro – Bitcoin
   Payment Gateway Addon**“
 * find gourl_paidmembershipspro.php
 * search for
 * session_start();
 * replace with
 * if (!isset($_SESSION)) {
   session_start([‘read_and_close’ => true]);}
 * There are 3 instances to replace.
    -  This reply was modified 2 years, 7 months ago by [power33](https://wordpress.org/support/users/power33/).
 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17128706)
 * I’m glad to hear you found the cause of the issue. It would be best to reach 
   out to the authors of this Add On for further assistance so that they can take
   your feedback into consideration and make any changes that might be needed.

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

The topic ‘ACTIVE PHP SESSION, REST API ERROR’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/active-php-session-rest-api-error/#post-17128706)
 * Status: resolved