cancel
Showing results for 
Search instead for 
Did you mean: 

Class 'JMS\Serializer\Handler\StdClassHandler' not found

Hi Guys,

 

So I am trying to run some of the samples, I finally got everything in composer working properly and the file edited to reflect my location of the autoloader.php file and my credentials.

 

But when I execute the file 'php create-customer-profile.php'

 

I get the following error:

 

Class 'JMS\Serializer\Handler\StdClassHandler' not found in /var/www/html/authorize/CustomerProfiles/sdk-php/vendor/jms/serializer/src/JMS/Serializer/SerializerBuilder.php:162

 

I ahve confirmed that my StdClassHandler.php file exists.

 

Any advice would be appriciated.

 

Thank you.

MikeSki
Member
2 REPLIES 2

I forgot to mention which might help,. I am also running php 7.

MikeSki
Member

I resovled my issue;

 

Just ended up redoing m steps from the github readme and it worked this time.

 

Thanks for looking.

MikeSki
Member