Skip to content

Guest Participation just erroring #659

@jacojazz

Description

@jacojazz

[X]: This is a bug and not a question.

[X]: I understand that the best way to resolve this issue is to solve it and propose a Pull Request.

Describe the bug

After creating a reservation and adding a guest email in to the invite list, an email is sent to that guest with the line "Attending? YES / NO". When clicking either Yes/No (on another device, not logged into libre), all that is shown is an unknown error.

The only log is:

Error: Error: Class "ParticipationNotification" not found in /var/www/html/Pages/GuestParticipationPage.php:93\nStack trace:\n#0 /var/www/html/Web/guest-participation.php(6): GuestParticipationPage->__construct()\n#1 {main}
#0 /var/www/html/lib/Common/Logging/ExceptionHandler.php(22): WebExceptionHandler->HandleException(Object(Error))\n#1 [internal function]: ExceptionHandler::Handle(Object(Error))\n
"GET /Web/guest-participation.php?rn=686ba14f37d14916174866&e=**email address**&ia=decline HTTP/1.1" 200 2611 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"

To Reproduce

Steps to reproduce the behavior:

  1. When creating reservation, add guest email address.
  2. Follow link sent to that email on another device e.g. the guest's device
  3. See unknown error.

Expected behavior

Guest would be able to accept or decline invitation with no errors.

Screenshots

Image

Image

Additional context

None

Specifications

  • LibreBooking version (or SHA if using the develop branch): v3.0.1
  • Using official docker release via portainer on ARM oracle server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions