Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send our error message to our xhr handlers #7782

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

jdarwood007
Copy link
Member

Fixes #7761
A new header x-SMF-errormsg is now sent. This can be received by xhr on the client side to be displayed.

Additionally fixes a PHP 8.2 error with $_sa being undefined in the Likes class Ensures that $txt[$error] exists before we try to use it during a non fatal error

Fixes SimpleMachines#7761
A new header x-SMF-errormsg is now sent.  This can be received by xhr on the client side to be displayed.

Additionally fixes a PHP 8.2 error with $_sa being undefined in the Likes class
Ensures that $txt[$error] exists before we try to use it during a non fatal error
@sbulen sbulen added this to the 2.1.5 milestone Jul 9, 2023
@live627 live627 merged commit a3f3beb into SimpleMachines:release-2.1 Jul 12, 2023
@jdarwood007 jdarwood007 deleted the customErrorJS branch July 29, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect error "you are banned" in stale session
3 participants