Title: PHP Fatal error
Last modified: June 2, 2023

---

# PHP Fatal error

 *  [carloscruz02](https://wordpress.org/support/users/carloscruz02/)
 * (@carloscruz02)
 * [3 years ago](https://wordpress.org/support/topic/php-fatal-error-366/)
 * Php error after update status order in backoffice, for example I change status
   On Hol -> Completed…
 *     ```wp-block-code
       [01-Jun-2023 16:46:23 UTC] PHP Fatal error:  Uncaught TypeError: Argument 3 passed to Reepay\Checkout\OrderFlow\ThankyouPage::override_template() must be of the type array, null given, called in /var/www/www.hide-url.com/www/wp-includes/class-wp-hook.php on line 308 and defined in /var/www/www.hide-url.com/www/wp-content/plugins/reepay-checkout-gateway/includes/OrderFlow/ThankyouPage.php:57
       Stack trace:
       #0 /var/www/www.hide-url.com/www/wp-includes/class-wp-hook.php(308): Reepay\Checkout\OrderFlow\ThankyouPage->override_template('/var/www/www.hi...', 'emails/email-or...', NULL, '', '')
       #1 /var/www/www.hide-url.com/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('/var/www/www.hi...', Array)
       #2 /var/www/www.hide-url.com/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(313): apply_filters('wc_get_template', '/var/www/www.gr...', 'emails/email-or...', NULL, '', '')
       #3 /var/www/www.hide-url.com/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3362): wc_get_template('emails/email-or...', NUL in /var/www/www.hide-url.com/www/wp-content/plugins/reepay-checkout-gateway/includes/OrderFlow/ThankyouPage.php on line 57
       ```
   
 * Reepay Version 1.4.66
   WordPress Version 6.2.2WooCommerce Version 7.7.2
    -  This topic was modified 3 years ago by [carloscruz02](https://wordpress.org/support/users/carloscruz02/).

The topic ‘PHP Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/reepay-checkout-gateway/assets/icon-256x256.png?rev=3303271)
 * [Frisbii Pay](https://wordpress.org/plugins/reepay-checkout-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/reepay-checkout-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/reepay-checkout-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reepay-checkout-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reepay-checkout-gateway/reviews/)

## Tags

 * [error php](https://wordpress.org/support/topic-tag/error-php/)

 * 0 replies
 * 1 participant
 * Last reply from: [carloscruz02](https://wordpress.org/support/users/carloscruz02/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-fatal-error-366/)
 * Status: not resolved