Jonne202
Forum Replies Created
-
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Unable to edit product with subscriptionThe issue is fixed by WP Swings support in the plugin code in my website.
Thanks a lot!Forum: Plugins
In reply to: [Five Star Restaurant Reservations - WordPress Booking Plugin] Plugin ErrorFixed it by putting the old version (2.5.0) back.
And deleted the incorrect entries in the database.After that the admin page became responsive again, and new bookings work fine.
Now wait for plugin update with bugfix, which I will test with new booking before updating production environment.Forum: Plugins
In reply to: [Five Star Restaurant Reservations - WordPress Booking Plugin] Plugin ErrorHi,
Ik think I’ve got the same problem;Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, DateTime given in /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/Booking.class.php:154 Stack trace: #0 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/Booking.class.php(154): date('j F Y H:i', Object(DateTime)) #1 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/WP_List_Table.BookingsTable.class.php(691): rtbBooking->format_timestamp(Object(DateTime)) #2 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/WP_List_Table.BookingsTable.class.php(748): rtbBookingsTable->column_default(Object(rtbBooking), 'submitted-by') #3 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-includes/class-wp-hook.php(307): rtbBookingsTable->add_details_column_items(Array, Object(rtbBooking)) #4 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #5 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/WP_List_Table.BookingsTable.class.php(676): apply_filters('rtb_bookings_ta...', Array, Object(rtbBooking)) #6 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-admin/includes/class-wp-list-table.php(1450): rtbBookingsTable->column_default(Object(rtbBooking), 'details') #7 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/WP_List_Table.BookingsTable.class.php(495): WP_List_Table->single_row_columns(Object(rtbBooking)) #8 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-admin/includes/class-wp-list-table.php(1377): rtbBookingsTable->single_row(Object(rtbBooking)) #9 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-admin/includes/class-wp-list-table.php(1362): WP_List_Table->display_rows() #10 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-admin/includes/class-wp-list-table.php(1289): WP_List_Table->display_rows_or_placeholder() #11 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/AdminBookings.class.php(107): WP_List_Table->display() #12 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-includes/class-wp-hook.php(307): rtbAdminBookings->show_admin_bookings_page('') #13 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #14 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #15 /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-admin/admin.php(259): do_action('toplevel_page_r...') #16 {main} thrown in /customers/1/2/e/restauranthetkerkje.nl/httpd.www/wp-content/plugins/restaurant-reservations/includes/Booking.class.php on line 154
(In Details column Bookings adminNothing has changed in Date and Time format of the Booking Form and since yesterday (after I updated the plugin to version 2.5.5) I have these problems.
In the Bookings admin page popups don’t work anymore, so bookings can’t be edited.At my staging environment I have equal problems, only there the errors are shown as a Notice. And the popups still work.
`Warning: date() expects parameter 2 to be int, object given in /subdomains/restauranthetkerkje/wp-content/plugins/restaurant-reservations/includes/Booking.class.php on line 154 ’Thanks in advance for your help!
Jonne