Fatal error: Call to a member function getMessage() on null

sangram2811
New Community Member

Any thoughts on this error

Fatal error: Call to a member function getMessage() on null in C:\xampp\htdocs\latest_carrental\application\libraries\PayPal-PHP-SDK\paypal\rest-api-sdk-php\sample\common.php

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello,

Thank you for posting to the Merchant Technical Support Forum.

That particular error indicates that you were making a call to the function (method) getMessage(), but none of the needed parameters were passed in.

You may need to do a var dump to determine which variables and parameters are not getting passed in.

 

Thank you,

Jennifer

PayPal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.