Unable to create an account
-
Hello,
First, thanks to your plugin, I love it.
I have Ultimate Member on my website, but also Ultimate Member – Friends, Ultimate Member – GTranslate, and Ultimate Member – Stripe.We have encountered a critical issue with Ultimate Member / Ultimate Member Stripe that is currently preventing users from completing registration and reaching the Stripe checkout page.
The problem appears to be related to the
um_optionsoption in the WordPress database.We discovered that
um_optionscontained a serialized string with the following value:“blocked_words”;s:47:”admin
administrator
webmaster
support
staff”;However, the actual string length is 43 bytes, not 47.
Because of this incorrect serialized string length, PHP
unserialize()fails, and Ultimate Member cannot correctly load the complete options array.We confirmed this locally:
- Before repair,
um_optionscould not be unserialized. - The stored option contained 444 keys in a working backup.
- After changing only the serialized length from
s:47tos:43, the option successfully unserialized. - After unserializing and reserializing the complete array using PHP
serialize(), the Ultimate Member options became available again. - The Stripe Live API keys and Ultimate Member extension licenses became visible again.
- Most importantly, registration worked again and users were redirected to the Stripe checkout page.
The problem also affected our current installation, where
um_optionswas apparently replaced/reset and now contains only 14 options instead of the previous complete configuration.On production, we currently receive the following fatal error:
PHP Warning: Attempt to read property “tokens” on null in um-stripe/includes/common/class-stripe.php on line 540
PHP Fatal error: Call to a member function create() on null in um-stripe/includes/common/class-stripe.php on line 540
The error occurs through:
Request_Handler->webhook_response()
Stripe->check_api_key()We would like to understand:
- Can Ultimate Member or one of its extensions rewrite or partially replace the
um_optionsdatabase option when plugins are activated/deactivated? - Is there a known issue where the
blocked_wordsmultiline setting can generate an incorrect serialized string length? - Could a plugin update, migration, activation/deactivation, or settings save operation cause
um_optionsto be overwritten with only a subset of options? - Could the
tokensnull error in Ultimate Member Stripe be a consequence ofum_optionsnot being loaded correctly?
This is currently a critical production issue because users cannot create accounts, and registration/Stripe checkout is an essential part of our business.
We have backups of the original
um_optionsvalues and can provide them if needed.Thank you for your help.
The page I need help with: [log in to see the link]
- Before repair,
You must be logged in to reply to this topic.