Menu

#2626 php 8.0 quirk on delete bookings

open
nobody
None
5
2022-10-14
2022-10-14
Philippe
No

Hello,
I am using 1.10.0 for quite some time now andI recently migrated my hosting server to php 8.0 since 7.4 is soon reaching an end of support.
MRBS seems to be generally working fine EXCEPT for one thing I discovered so far:

If I delete a booking, the deletion is actually done but the operation returns an "Invalid reservation number" message on the page and no return option other than exiting and re-entering mrbs.

The booking is then really deleted.

I am not good enough with php to figure out what happens here.
Adding bookings is ok and I haven't tried yet edit booking to see if anything happens there too...

Thanks to let me know if there's an easy fix for this.

Cheers,

Philippe

Discussion

  • Campbell Morrison

    Can you try running the latest development code in a test installation to see if you still get the problem? You can get the code by following the green Code button on this page.

     
  • Philippe

    Philippe - 2022-10-14

    OK. Will try this and will let you know asap.
    Cheers

     
  • Philippe

    Philippe - 2022-10-14

    Hello again,

    Tried it and it's definitely working ok with 8.0 and 8.1 whic I also tested for.
    What should then be the process? Should I just wait for a new official release or can I safely upgrade the system with this version?

    Thx

    Philippe

     
  • Campbell Morrison

    You can safely upgrade the system with that one. (Take a back of your data and web folder first of course as usual).

     
    • Philippe

      Philippe - 2022-10-14

      You can safely upgrade the system with that one. (Take a back of your
      data and web folder first of course as usual).

      Of course!
      Thank you so much and have a nice day!
      Philippe