Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Parse error: syntax error, unexpected T_STRING

Simple Membership Plugin › Forums › Simple Membership Plugin › Parse error: syntax error, unexpected T_STRING

Tagged: stripe subscription

  • This topic has 7 replies, 4 voices, and was last updated 9 years ago by mbrsolution.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 7, 2017 at 3:10 am #11731
    mtotra
    Participant

    Help!

    Parse error: syntax error, unexpected T_STRING in /public_html/***/wp-content/plugins/simple-membership/classes/class.swpm-utils-misc.php on line 344

    Here is line 344

    \Stripe\Stripe::setApiKey($api_key);

    August 7, 2017 at 5:52 am #11733
    mbrsolution
    Moderator

    Thank you for reporting this. The plugin developers will investigate further your issue.

    Kind regards

    August 7, 2017 at 6:38 am #11734
    admin
    Keymaster

    Your server is using a very old version of PHP so you are seeing that error.

    In our recent release we added Stripe subscription which requires a more recent PHP version to be used on your site. You should ask your hosting provider to upgrade your PHP to a more recent version then you won’t see the issue.

    August 7, 2017 at 7:40 am #11735
    admin
    Keymaster

    I have added a check in the new version of the plugin so it shows an warning message instead of the error.

    November 8, 2017 at 4:07 pm #12398
    eoadams8
    Participant

    I’m getting the warning message ‘The Stripe subscription gateway library requires at least PHP 5.4.0. Your server is using a very old version of PHP.’

    However, my server version is now PHP 7.0

    Is there a way to update the plugin so it can tell that my PHP version is not outdated?

    November 9, 2017 at 12:24 am #12402
    mbrsolution
    Moderator

    @eoadams8, what kind of update are you requesting? Can you give an example?

    Thank you

    November 9, 2017 at 1:14 am #12406
    eoadams8
    Participant

    I think the plugin just needed to be refreshed because I changed hosts and the PHP version was updated as well. It is now working. Thanks

    November 9, 2017 at 2:11 am #12409
    mbrsolution
    Moderator

    Hi, I am glad to hear your issue is resolved.

    Enjoy the plugin 🙂

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy