• Resolved bobocop

    (@bobocop)


    When a booking is done from the admin page there is no need to put in the price of the seat.
    This results in a php error when user accesses the statuspage. (no pdf is presented for printout.)

    How do Igenerate a seat printout for these seats?
    Would it not be better to also set the seat price on each seat? Than it can be treated the same way as a front booking.

    Uncaught Error: Unsupported operand types: int + array
    in ********/wp-content/plugins/seatreg/php/services/SeatregBookingService.php on line 20

    Call stack:

    1. SeatregBookingService::getBookingTotalCost('5b28c7df32c61393a9f6686b3c54608d46af3c80', '{"global":{"legends"...:"","prefix":""}]}]}')
      wp-content/plugins/seatreg/php/seatreg_functions.php:1903
    2. seatreg_echo_booking('3b33efd2d2', '5b28c7df32c61393a9f6686b3c54608d46af3c80')
      wp-content/plugins/seatreg/php/pages/booking_status.php:78
    3. include('/var/www/vhosts/chab...s/booking_status.php')
      wp-content/plugins/seatreg/php/seatreg_filters.php:91
    4. seatreg_custom_pages('')
      wp-includes/class-wp-hook.php:324
    5. WP_Hook::apply_filters(NULL, array)
      wp-includes/class-wp-hook.php:348
    6. WP_Hook::do_action(array)
      wp-includes/plugin.php:517
    7. do_action('init')
      wp-settings.php:704
    8. require_once('/var/www/vhosts/chab...l.be/wp-settings.php')
      wp-config.php:115
    9. require_once('/var/www/vhosts/chab...eel.be/wp-config.php')
      wp-load.php:50
    10. require_once('/var/www/vhosts/chabo.be/dbwtoneel.be/wp-load.php')
      wp-blog-header.php:13
    11. require('/var/www/vhosts/chab...e/wp-blog-header.php')
      index.php:17
    • This topic was modified 1 year, 1 month ago by bobocop.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Siim Kirjanen

    (@thesiim)

    I was able to reproduce the issue. Will create a task to fix it. Thank you for notifying.

    Plugin Author Siim Kirjanen

    (@thesiim)

    I updated to plugin to version 1.57.1
    Now when adding a booking manually with booking manager and selected seat has multi price then you will be able to select the price. That should prevent the issue with the booking status page.

    Thread Starter bobocop

    (@bobocop)

    I did delete an old one and entered it again with prices in backoffice.
    I can confirm that the pdf is available now, so this issue is resolved.

    Tanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Print pdf after background booking’ is closed to new replies.