Skip to content

Confirm methods exist before calling#7575

Merged
sbulen merged 1 commit intoSimpleMachines:release-2.1from
sbulen:check_method_exists
Oct 25, 2022
Merged

Confirm methods exist before calling#7575
sbulen merged 1 commit intoSimpleMachines:release-2.1from
sbulen:check_method_exists

Conversation

@sbulen
Copy link
Copy Markdown
Contributor

@sbulen sbulen commented Oct 25, 2022

Fixes #7572

Tested, works!

As noted in the discussion in the issue, this is needed because pacman behavior under PHP 8.1 seems to have changed a bit. The class-Punycode.php appears to be getting reloaded & used immediately after pacman applies its updates. BUT... It's out of sync with the calling program, Subs-Compat.php. This caused issues upon deinstall, as Subs-Compat was calling methods that no longer existed.

Signed by Shawn Bulen, bulens@pacbell.net
@sbulen sbulen added Package Manager Charset/Encoding UTF8 & mb4 encoding related issues labels Oct 25, 2022
@sbulen sbulen added this to the 2.1.3 milestone Oct 25, 2022
@sbulen
Copy link
Copy Markdown
Contributor Author

sbulen commented Oct 25, 2022

Tests are good & this is a very simple change, proposed by @Sesquipedalian in the original issue. Will go ahead & merge.

@sbulen sbulen merged commit ee2af85 into SimpleMachines:release-2.1 Oct 25, 2022
@pr-triage pr-triage Bot added the PR: merged label Oct 25, 2022
@sbulen sbulen deleted the check_method_exists branch October 25, 2022 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Charset/Encoding UTF8 & mb4 encoding related issues Package Manager

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to undefined method Punycode::useStd3()

1 participant