Have you seen this error more than once? The plugin will attempt to save it’s upgraded settings — issuing an error when it fails — but usually it succeeds on the second try.
js.
Can I assume this issue is resolved?
js.
The error is still there. I have just upgraded WPSSO UM hoping that it will help. Didn’t.
There’s really not much I can do if your WordPress update_option() does not return true when WPSSO update’s its option… The WordPress documentation is quite specific:
https://developer.ww.wp.xz.cn/reference/functions/update_option/
Return: (bool) False if value was not updated and true if value was updated.
WPSSO simply reports the fact that update_option() did not return ‘true’. The funtion may also return false if there was no change, but WPSSO checks for this before calling update_option().
I wonder if another plugin might have hooked into update_option and is returning an incorrect value (1 instead of true, for example). Have you tried disabling other plugins to see if WPSSO is then able to save it’s option?
js.
Where you able to track down the reason why update_option() was returning an incorrect value?
js.
Thanks for following up. We were able to spend only little time in doing this. Will do the numerous recent updates and see if the problem persist and let you know.
The error message is gone after updates. It seems to me it was a conflict with the favicon plugin. We are not sure though. Maybe it was just the cache lagging to show this plugin, it was perhaps your update harmonises with WP better now.