• Resolved playdiune

    (@playdiune)


    Hello,

    i use 5 Star reservations plugin to accept reservations from clients. when someone tryes to send a reservation the site goes to an infinite loop.

    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 yo solve this ?

    Thanks

    • This topic was modified 4 years, 10 months ago by playdiune.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Infinite Looping sending emails’ is closed to new replies.