S2Member Pro login wiget

Both the login widget and the embedded login shortcode are throwing this error:

Call to undefined function wp_get_current_user()

This is occurring on this site:

https://www.rodneywebbstore.com/

S2Member Pro is currently deactivated. Until very recently the widget has work flawlessly for a good number of years. I use S2Member Pro on three other sites without issue. All four sites use the same theme (Divi).

I’m on the latest version of S2Member Pro.

Thanks for any help.