-
Notifications
You must be signed in to change notification settings - Fork 852
Closed
Labels
[Plugin] VaultPress[Pri] Low[Type] BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended
Description
Impacted plugin
VaultPress
Steps to Reproduce
Unsure how to duplicate.
Result is
Fatal error: Uncaught Error: base64_decode(): Argument #1 ($string) must be of type string, array given
in /srv/www/html/wp-content/plugins/vaultpress/vaultpress.php on line 469 [as of 2.2.2]
A clear and concise description of what you expected to happen.
No fatal.
What actually happened
Fatal.
Browser
No response
Other information
Looking, the contact_service function could return a variety of types—bool, string, array. There are multiple uses of contact_service that are directly passed into base64_decode which fatals for a non-string (though false seems to be fine).
Platform (Simple, Atomic, or both?)
Self-hosted
Reproducibility
Consistent
Severity
None
Available workarounds?
Yes, easy to implement
Workaround details
Since the messages check only happens every 30 minutes, just refreshing the screen allows the site to resume normal operations.
Metadata
Metadata
Assignees
Labels
[Plugin] VaultPress[Pri] Low[Type] BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended