Open
Description
DOMException: Namespace Error in /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php:163
Stack trace:
#0 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php(163): DOMDocument->createElementNS('http://schema.i...', 'ns0:')
#1 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php(91): QuickBooksOnline\API\XSD2PHP\src\com\mikebevz\xsd2php\Php2Xml->parseClass(Object(QuickBooksOnline\API\Data\IPPCustomer), Object(DOMDocument), true)
#2 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/Core/Http/Serialization/XmlObjectSerializer.php(51): QuickBooksOnline\API\XSD2PHP\src\com\mikebevz\xsd2php\Php2Xml->getXml(Object(QuickBooksOnline\API\Data\IPPCustomer))
#3 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/Core/Http/Serialization/XmlObjectSerializer.php(76): QuickBooksOnline\API\Core\Http\Serialization\XmlObjectSerializer::getXmlFromObj(Object(QuickBooksOnline\API\Data\IPPCustomer))
#4 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/Core/Http/Serialization/XmlObjectSerializer.php(201): QuickBooksOnline\API\Core\Http\Serialization\XmlObjectSerializer::getPostXmlFromArbitraryEntity(Object(QuickBooksOnline\API\Data\IPPCustomer), 'customer')
#5 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/DataService/DataService.php(1440): QuickBooksOnline\API\Core\Http\Serialization\XmlObjectSerializer->Serialize(Object(QuickBooksOnline\API\Data\IPPCustomer))
#6 /home/crm/public_html/vendor/quickbooks/v3-php-sdk/src/DataService/DataService.php(807): QuickBooksOnline\API\DataService\DataService->executeObjectSerializer(Object(QuickBooksOnline\API\Data\IPPCustomer), NULL)
#7 /home/crm/public_html/app/Integrations/QuickBooksIntegration/Synchronizer/CustomerSync.php(237): QuickBooksOnline\API\DataService\DataService->Add(Object(QuickBooksOnline\API\Data\IPPCustomer))
#8 /home/crm/public_html/app/Integrations/QuickBooksIntegration/Synchronizer/CustomerSync.php(59): App\Integrations\QuickBooksIntegration\Synchronizer\CustomerSync->qbo(Object(Accounts_Record_Model))
#9 /home/crm/public_html/app/Integrations/QuickBooksIntegration/Synchronizer/CustomerSync.php(40): App\Integrations\QuickBooksIntegration\Synchronizer\CustomerSync->export()
#10 /home/crm/public_html/app/Integrations/QuickBooksIntegration/Controller.php(56): App\Integrations\QuickBooksIntegration\Synchronizer\CustomerSync->process()
#11 /home/crm/public_html/modules/Vtiger/crons/QBOCustomersSync.php(17): App\Integrations\QuickBooksIntegration\Controller->synchronizeCustomers()
#12 /home/crm/public_html/cron.php(98): Vtiger_QBOCustomersSync_Cron->process()
#13 {main}
SDK Version 6.1.4
It was discussed 6 years ago in issue #142 which presumably has been fixed
The issue persist when the functions called via cron, it goes away if the function is called directly via browser.
Metadata
Assignees
Labels
No labels
Activity