sdk-php icon indicating copy to clipboard operation
sdk-php copied to clipboard

can't find that function

Open LawanyaD opened this issue 10 years ago • 6 comments

Fatal error: Class 'SerializedName' not found in

LawanyaD avatar Aug 31 '16 05:08 LawanyaD

They're going to need a lot more information than that. Can you please provide the snippet of code that this is in reference to? The full error message from PHP would also be helpful.

BBurton0 avatar Aug 31 '16 22:08 BBurton0

Fatal error: Class 'PHPUnit_Framework_Assert' not found in /opt/lampp/lib/php/PHPUnit/Framework/TestCase.php on line 99

LawanyaD avatar Sep 01 '16 04:09 LawanyaD

How did you solve the SerializerName issue?

When are you getting the PHPUnit error? Are you trying to run a unit test not in the SDK? If you have PHPUnit already installed, please share the unit test you are trying to run.

I would also see if the appropriate autoload.php is included in the unit test file as you can see in the difference between Controller_Test(https://github.com/AuthorizeNet/sdk-php/blob/master/tests/Controller_Test.php#L4) and another test in a different location.

ashtru avatar Sep 01 '16 06:09 ashtru

No I just update composer.json in terminal

LawanyaD avatar Sep 01 '16 06:09 LawanyaD

Now I got this type of issue soplease give some idea,

Fatal error: Class 'goetas\Xsd\XsdToPhp\Jms\Handler\BaseTypesHandler' not found

LawanyaD avatar Sep 01 '16 06:09 LawanyaD

Closing this issue as goetas/xsd2php is migrated to goetas-webservices/xsd2php now. If your issue is not resolved, feel free to reopen the issue.

ashtru avatar Jul 04 '18 06:07 ashtru