No more hide staff / categories frontend
Since the last update 19.7 I can not hide staff or categories in the first step of frontend. I can not hide ALL first step.
This not work [HTTP/1.1 500 Internal Server Error]:
[bookly-form category_id="1" service_id="1" hide="categories,services,staff_members,date,week_days,time_range"]
This work:
[bookly-form category_id="0" service_id="1" hide="categories,services,date,week_days,time_range"]
[bookly-form category_id="1" service_id="1" hide="services,staff_members,date,week_days,time_range"]
Error log:
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1170
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1171
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1172
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1198
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1170
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1171
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1172
[11-May-2021 12:22:18 UTC] PHP Notice: Trying to access array offset on value of type null in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1198
[11-May-2021 12:22:18 UTC] PHP Fatal error: Uncaught Error: Call to a member function withSubServices() on bool in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php:411
Stack trace:
#0 /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php(106): Bookly\Lib\Slots\Finder->_prepareStaffData()
#1 /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php(211): Bookly\Lib\Slots\Finder->prepare()
#2 [internal function]: Bookly\Frontend\Modules\Booking\Ajax::renderTime()
#3 /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/base/Ajax.php(52): call_user_func(Array)
#4 /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/base/Ajax.php(31): Bookly\Lib\Base\Ajax::forward('renderTime', true, true)
#5 /public_html/wp-includes/class-wp-hook.php(292): Bookly\Lib\Base\Ajax::Bookly\Lib\Base\{closure in /public_html/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php on line 411
0
Comments
Solved. I don't know how exactly
I didn't have category created to my staff / Employee. The last thing I have done has been create one and assign it to all my employees.
Hi! Is there a way to leave only a 1 week service option for 3 "staff" (not visible) and remove anything else? I looking to hire out 3 set of devices on a weekly basis, and all the rest of the option just confusing.
Please let me know. Thank you.
Hello,
Please refer to this post: https://support.booking-wp-plugin.com/hc/en-us/articles/212457869-I-just-need-a-couple-of-basic-capabilities-Can-I-turn-everything-else-off
This is still doesn't have the 1 week booking option. Just to be clear. I looking for an option to book not by hour, or minutes or days, but minimum 1 week. So if someone wants to book, they would see if there is a device available or not for that week. Thank you.
Please sign in to leave a comment.