Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Can’t start Hotel Booking
- This topic has 2 replies, 2 voices, and was last updated 1 year, 9 months ago by J. Davis.
- AuthorPosts
- February 13, 2023 at 8:35 am #1414620Wahyudi VermeulenParticipant
After a update to version 4.6.0.
When I was editing some labels in Hotel Booking, after a while I can’t reserve any accommodation in my system.
After login in save mode I found this error and I don’t know where to start to solve this:
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 18 van het bestand /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/templates/emails/admin-pending-booking.php. Foutmelding: Uncaught ValueError: Unknown format specifier “v” in /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/templates/emails/admin-pending-booking.php:18 Stack trace: #0 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/templates/emails/admin-pending-booking.php(18): sprintf() #1 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/functions.php(35): require(‘…’) #2 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/functions.php(27): mphb_load_template() #3 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/emails/abstract-email.php(359): mphb_get_template_part() #4 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/emails/abstract-email.php(444): MPHB\Emails\AbstractEmail->getDefaultMessageTemplate() #5 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/emails/booking/admin/base-email.php(30): MPHB\Emails\AbstractEmail->generateSettingsFields() #6 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(308): MPHB\Emails\Booking\Admin\BaseEmail->generateSettingsFields() #7 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #8 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/admin/menu-pages/settings-menu-page.php(589): do_action() #10 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/admin/menu-pages/settings-menu-page.php(68): MPHB\Admin\MenuPages\SettingsMenuPage->_generateAdminEmailsTab() #11 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/motopress-hotel-booking/includes/admin/menu-pages/settings-menu-page.php(30): MPHB\Admin\MenuPages\SettingsMenuPage->generateTabs() #12 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(308): MPHB\Admin\MenuPages\SettingsMenuPage->initFields() #13 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #14 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-admin/admin.php(175): do_action() #16 /mnt/web307/e2/31/511693131/htdocs/STRATO-apps/wordpress_01/app/wp-admin/plugins.php(10): require_once(‘…’) #17 {main} thrown
February 13, 2023 at 8:58 am #1414653Wahyudi VermeulenParticipantFound myself the solution, I edited the file admin-pending-booking.php in the folder that was mentioned and make sure the translation file that I was editing had the same input fields.
February 16, 2023 at 7:26 am #1416261J. DavisKeymasterHi Wahyudi,
We could not replicate the issue locally with the default translations. Feel free to contact us if you have any additional questions.
best regards,
John Davis - AuthorPosts
- You must be logged in to reply to this topic.