500 error after PayPal checkout

Running s2member Pro, after PayPal checkout, the return page on our website gets a 500 error. How can I fix this or debug?

Wordpress 5.5.1

S2member framework Version 200301 + s2Member Pro v200301 |

@bask,

Can you provide the short code you are using and maybe a link to your page?

@bask - Enable WordPress debugging, trigger the error, disable WordPress debugging, check error log file.

See https://kinsta.com/blog/wordpress-debug/