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

Fixes method_exists exception on xml_doc.php #711

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

Smolations
Copy link

Fixes #710 - [Bug] Version 2.12.26 method_exists exception on xml_doc.php

For some reason, PHP7 throws no error when method_exists() is provided a non-object as the first argument, but PHP8 does. Adds a simple pre-check to the call to avoid the issue altogether.

@douglasmiller douglasmiller added the V2 V2 Client label Sep 1, 2022
@douglasmiller douglasmiller merged commit f96ddf7 into v2 Sep 1, 2022
@douglasmiller douglasmiller deleted the issue710_method_exists_exception branch September 1, 2022 18:34
recurly-integrations pushed a commit that referenced this pull request Sep 1, 2022
[Full Changelog](2.12.27...2.12.28)

**Merged Pull Requests**

- Fixes method_exists exception on xml_doc.php [#711](#711) ([Smolations](https://github.com/Smolations))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants