Skip to content
← Back to activity

Public problem

DocuSign PHP SDK Class 'Number' not found on Object Serializer (listTabs)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Calling listTabs via the EnvelopesApi in docusign/esign-client threw a fatal "Class 'Number' not found" from ObjectSerializer.php. During deserialization the SDK passed the bare class name 'Number' to the deserializer instead of the namespaced \DocuSign\eSign\Model\Number, so PHP could not resolve it. The report came from a Laravel 5.x app using docusign/esign-client ^3.0, and several other users reproduced it.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

As a workaround, edit vendor/docusign/esign-client/src/ObjectSerializer.php and replace the bare 'Number' class reference with the fully qualified '\DocuSign\eSign\Model\Number' — a community member confirmed this fixes the fatal. The maintainer reports the bug (DCM-3210) is fixed in SDK v5.1, so upgrading with composer require docusign/esign-client:^5.1 is the proper resolution. Source: https://github.com/docusign/docusign-esign-php-client/issues/48