Tickets Configuration

Created on 2 February 2023, almost 2 years ago
Updated 3 February 2023, almost 2 years ago

I've been struggling with this issue for several days without luck.

When trying to configure commerce tickets on commerce/config/product-variation-types/ticket/edit I get a white page with this error:

The website encountered an unexpected error. Please try again later.

Logfiles show this error:

Error: Call to a member function getEmail() on null in Drupal\commerce_ticketing\Mail\TicketReceiptMail->send() (line 126 of /web/modules/contrib/commerce_ticketing/src/Mail/TicketReceiptMail.php)

Any help greatly appreciated

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany elbarcino

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @elbarcino
  • 🇪🇸Spain pcambra Asturies
    RuntimeException: The field "is_ticket" does not exist on bundle "ticket" of entity type "commerce_product_variation". in Drupal\commerce\ConfigurableFieldManager->hasData() (line 119 of /var/lib/tugboat/stm/web/modules/contrib/commerce/src/ConfigurableFieldManager.php).
    
  • @pcambra opened merge request.
  • Status changed to Needs review almost 2 years ago
  • 🇪🇸Spain pcambra Asturies

    Here's a failing test

  • Status changed to Fixed almost 2 years ago
  • 🇪🇸Spain pcambra Asturies

    There we go, fixed.

  • Status changed to Active almost 2 years ago
  • 🇩🇪Germany elbarcino

    Thanks a lot for your help!

    Unfortunately I'm still getting the same error:

    Error: Call to a member function getEmail() on null in Drupal\commerce_ticketing\Mail\TicketReceiptMail->send() (line 126 of /web/modules/contrib/commerce_ticketing/src/Mail/TicketReceiptMail.php)

  • Status changed to Fixed almost 2 years ago
  • 🇪🇸Spain pcambra Asturies

    Just launched a vanilla Drupal + Commerce Ticketing install with simplytest.me of this module and accessing to "admin/commerce/config/product-variation-types/ticket/edit" no longer throws an error on the dev release of the module. I've added a test for it.

    This needs to be something on your install or a missing step, please provide more information and stop bumping the priority, thanks.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024