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

xml reader error for php 8.2 #786

Open
adish-tap opened this issue Sep 1, 2023 · 3 comments
Open

xml reader error for php 8.2 #786

adish-tap opened this issue Sep 1, 2023 · 3 comments

Comments

@adish-tap
Copy link

Hi All,

We are using the google ad manager PHP library to push order and line items to GAM from our platform.
We had PHP version 8.1 and GAM API version v202302. We were able to push the order and line item successfully to GAM and get the response back properly.

However we moved from PHP version 8.1 to 8.2 and then when we tried to push to GAM we received error as -
Warning: XMLReader::XML(): Unable to load source data in .../googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/SoapHeaders.php on line 75

We had not made any code changes in our platform apart from the PHP version upgrade to 8.2 from 8.1. Can you please help us out and let us know how we can move forward so that we can use PHP 8.2.

Please let me know if more information is needed.

@christopherseeley
Copy link
Member

christopherseeley commented Sep 1, 2023

What patch version of 8.2 are you using? Looks like there are some XML related bug fixes in recent 8.2.x releases.

@adish-tap
Copy link
Author

Hi - We are on PHP version 8.2.3 . please let me know if you need more information.

@christopherseeley
Copy link
Member

Did updating to a newer patch version resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants