Fatal error sending confirmation emails
-
Hello,
when someone tryes to send a reservation, the site goes to an infinite loop. This is happening since a started to translate the site with translatepress.
I checked the error and there is a conflit with translatepress (when sending the confirmation emails to admin and to the client.
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function trp_strip_gettext_from_get_the_date(), 1 passed in /home/gestaodigusto/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/gestaodigusto/public_html/wp-content/plugins/translatepress-multilingual/includes/compatibility-functions.php:564
Stack trace:#0 /home/gestaodigusto/public_html/wp-includes/class-wp-hook.php(287): trp_strip_gettext_from_get_the_date(‘2020-05-15 14:0…’)
#1 /home/gestaodigusto/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘2020-05-15 14:0…’, Array)
#2 /home/gestaodigusto/public_html/wp-content/plugins/restaurant-reservations/includes/Booking.class.php(134): apply_filters(‘get_the_date’, ‘2020-05-15 14:0…’)
#3 /home/gestaodigusto/public_html/wp-content/plugins/restaurant-reservations/includes/Notification.Email.class.php(251): rtbBooking->format_date(‘2020-05-15 14:0…’)
#4 /home/gestaodigusto/public_html/wp-content/plugins/restaurant-reservations/includes/Notification.Email in /home/gestaodigusto/public_html/wp-content/plugins/translatepress-multilingual/includes/compatibility-functions.php on line 564
Is there something i can do to solve this ?
Thanks
- The topic ‘Fatal error sending confirmation emails’ is closed to new replies.