Fatal error: Call to a member function getMessage() on null
sangram2811
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-25-2020
02:26 AM
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
Labels:
- Labels:
-
REST
1 REPLY 1
MTS_Jennifer
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb-11-2020
11:25 AM
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
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- capture error in Sandbox Environment
- Why am I not seeing HTTP responses for IPN? in Sandbox Environment
- PERMISSION_DENIED. You do not have permission to access or perform operations on this resource. in Sandbox Environment
- Computing multiple payments successfully, but unable to add additional fields in PayPal Payments Standard
- Web hook status error in REST APIs