Title: PHP Notice: Undefined variable: getErrorMessage
Last modified: June 4, 2022

---

# PHP Notice: Undefined variable: getErrorMessage

 *  [Vishal Lohar](https://wordpress.org/support/users/vlohar08/)
 * (@vlohar08)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-geterrormessage/)
 * I am getting this error message in my debug.log file.
    Please tell me what it
   means and how I can fix it?
 * Note: I have replaced my domain with example.com
 *     ```
       [04-Jun-2022 04:24:11 UTC] PHP Notice:  Undefined variable: getErrorMessage in /home/example.com/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 1292
       ```
   

The topic ‘PHP Notice: Undefined variable: getErrorMessage’ is closed to new replies.

 * ![](https://ps.w.org/woo-razorpay/assets/icon-256x256.png?rev=2257034)
 * [Razorpay for WooCommerce](https://wordpress.org/plugins/woo-razorpay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-razorpay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-razorpay/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-razorpay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-razorpay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-razorpay/reviews/)

 * 0 replies
 * 0 participants
 * Last reply from: [Vishal Lohar](https://wordpress.org/support/users/vlohar08/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-geterrormessage/)
 * Status: not resolved