googleads / googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP
Apache License 2.0
655 stars 768 forks source link

xml reader error for php 8.2 #786

Open adish-tap opened 1 year ago

adish-tap commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

christopherseeley commented 8 months ago

Did updating to a newer patch version resolve the issue?