Okay
  Public Ticket #2189072
Notice: Please create category, service and employee first
Closed

Comments

  • Arvinder Singh started the conversation

    I have created a category, service and employee and connected all 3 together and yet it wont allow me to place it on a page keep getting this "Notice: Please create category, service and employee first". Never had this problem on ver 2.0 but since I installed ver 2.1 I haven't been able to make it work. I have tried uninstalling and re installing the pugin and nothing.

  • [deleted] replied

    Hello Arvinder Singh, 

    Thank you for your purchase!

    Apologies for replying late, we are not working on weekends. 

    Unfortunately, we encountered some issue/bug after the last update with Gutenberg blocks and this is the cause of the error that you get (it comes up when no events (no tags for events) are created in Amelia). 

    Sorry for any inconvenience this have caused. We will fix this in our next update. 

    Until then, please find the following file in your WordPress folder:

    ../wp-content/plugins/ameliabooking/src/Infrastructure/Repository/Booking/Event/EventTagsRepository.php 

    and in line 130 replace this:

    if (isset($criteria['eventIds'])) {

    with this:

    if (!empty($criteria['eventIds'])) {
    


    Also, the issue won't be there if you use Classic editor. 

    Again, sorry for any inconveniences. 

    If you have any further questions or concerns don't hesitate to ask,