Home › Forums › Stripe Payments Plugin › Subscription Payments Plugin causing error
- This topic has 10 replies, 2 voices, and was last updated 5 years, 5 months ago by Admin.
-
AuthorPosts
-
April 17, 2019 at 1:35 pm #1974Naomi_JohnsonParticipant
I purchased the subscription plugin a couple of weeks ago and set it up – all was working as it should. Yesterday I found that my website was down and my hosting provider told me it was a plugin problem – they deactivated all the plugins (by renaming the plugin folder) and since then, whenever I try to reactivate the subscription payments plugin, it causes the site to crash again. (all other plugins appear to be fine)
April 17, 2019 at 2:29 pm #1975AdminKeymasterDelete the plugins and the addons of this plugin (if you are using any). Then re-download it and activate them one by one. Do you still see the same issue after that?
When it crashes, what error do you see? It maybe a PHP version related issue.
April 17, 2019 at 3:00 pm #1976Naomi_JohnsonParticipantI think it was http error 500
I tried deleting Stripe subscription payments addon and re-uploading – that caused the same problem.
April 17, 2019 at 4:28 pm #1977Naomi_JohnsonParticipantI checked the php compatibility with plugin “php compatibility checker” and for php version 7.1 there are these warnings on the Stripe Payments plugin – but no warnings for the Subscription Payments addon. After updating my site to php 7.1, the error is still happening as soon as I activate the addon. I don’t have sufficient knowledge to understand what, if anything, I can do to fix this.
FILE: /home/naomijan/public_html/valueadded.video/wp-content/plugins/stripe-payments/includes/stripe/lib/StripeObject.php
———————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
———————————————————————————————–
407 | WARNING | Method name “StripeObject::__toJSON” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
418 | WARNING | Method name “StripeObject::__toArray” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
———————————————————————————————–April 19, 2019 at 5:00 am #1978AdminKeymasterThose 2 PHP warnings you can ignore. Those are from the Stripe’s library.
For error 500, some info is written in the server’s log file. That info will be critical in determining exactly what action the server is rejecting and causing this 500 error (when you activate the plugin). Can you please request your hosting provider to give you the details from that error log file? We can then try to understand which action it is complaining about.
April 19, 2019 at 1:55 pm #1979Naomi_JohnsonParticipantOK they have sent me this – it’s rather long!
Here are all errors logged into the apache error log below: [deleted after checking the log file]
April 22, 2019 at 8:44 am #1985AdminKeymasterThank you. We don’t spot any errors from our plugin there.
Can you please disable all plugins and enable only 2 plugins – Stripe Payments and Subscriptions? Then see if the error still there.
April 22, 2019 at 12:57 pm #1988AdminKeymasterWe have also released a new vesrion of the plugin that will check (in the admin dashbarod) if all the required PHP modules are installed on your server. Please upgrade to the latest copy to see if there is any warning about any missing PHP modules for your site.
April 22, 2019 at 1:23 pm #1989Naomi_JohnsonParticipantOK thanks, I will check now.
April 22, 2019 at 1:31 pm #1990Naomi_JohnsonParticipantOK so I updated the plugin – then tried activating the Subscriptions addon – and everything seems to be working now. Seems the update fixed it!
Many thanks for your help and advice.April 23, 2019 at 4:51 am #1993AdminKeymasterGlad to hear that.
-
AuthorPosts
- You must be logged in to reply to this topic.