• Resolved theai

    (@theai)


    Dear developer,

    Unfortunately, I have found a bug in your actual fantastic extension I really appreciate.

    When I use seats custom numbering with prefix A to M for each row including reorder seats from 1 to 25 to rename seats like A1 – A25; B1 – B25, … this setting will be lost every time I edit scheme. Checkout some screenshots here: https://imgur.com/a/fl1V7hr

    Second problem, maybe causing the same bug I having troubles after re-editing the scheme to approve booking or delete them. This will throw some php exceptions like following:

     Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 33 du fichier /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/views/modals/bookings-file-modal.php. Message d’erreur : Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/views/modals/bookings-file-modal.php:33
    Stack trace:
    #0 /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/seatreg_functions.php(1228): require()
    #1 /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/seatreg_functions.php(1107): seatreg_bookings_file_modal()
    #2 /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/seatreg_functions.php(924): seatreg_generate_booking_manager_html()
    #3 /export/hosting/lycee/lmr/htdocs/wp-content/plugins/seatreg/php/seatreg_admin_panel.php(144): seatreg_generate_booking_manager()
    #4 /export/hosting/lycee/lmr/htdocs/wp-includes/class-wp-hook.php(308): seatreg_create_management()
    #5 /export/hosting/lycee/lmr/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #6 /export/hosting/lycee/lmr/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /export/hosting/lycee/lmr/htdocs/wp-admin/admin.php(259): do_action()
    #8 {main}
      thrown
    

    Thank you a lot for your help

    Yours faithfully
    Claude Kieffer

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thesiim

    (@thesiim)

    Hello

    Yes I was able to reproduce the bug. I will start working on the fix asap. Thank you for notifying about the bug.

    Plugin Author thesiim

    (@thesiim)

    I published a new version 1.29.1
    It will fix the scheme editor bug. Now it works as expected.
    About the problem with approving/deleting booking. The scheme bug caused situation where seat numbers where overridden. So for example you created a scheme that had B1 seat. Someone booked that seat. After that you opened the scheme editor again and clicked save (now the bug caused the seat to become B7 for example). But the booking is actually still B1 so when you try to approve/delete in booking manager it can cause issues.
    If the issue appears then you can use edit booking (in booking manager) to make sure that the seat is correct.

    Nasty bug. Than you for notifying.

    Thread Starter theai

    (@theai)

    That are great news. Thank you a lot for this fast fix!! I’m glad you found the bug with my description.

    • This reply was modified 1 year, 10 months ago by theai.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom numbering issue’ is closed to new replies.