WSOD after admin places order in admin ui

Created on 9 January 2024, 11 months ago
Updated 19 January 2024, 10 months ago

Admin creates order in admin UI.
Admin creates new user or uses existing user (that is not admin) for the order.
Admin fills in the billing info, product, shipping info, and payment info.
Admin places order.
WSOD appears and confirmation email is not sent.
Order is created though.
Admin then has to resend order confirmation because it never got sent (also a bummer because when resending order confirmations, it doesn't send the copy of the email to designated copy to email address, but that is a separate item).

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇺🇸United States djween

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

Comments & Activities

  • Issue created by @djween
  • Status changed to Postponed: needs info 11 months ago
  • 🇮🇱Israel jsacksick

    You'd need to provide the actual error you're getting. Try turning on the error messages. As is, there is not a lot we can do.

  • 🇺🇸United States djween

    sorry, this is the error I see:
    Error: Call to a member function getNumber() on null in Drupal\commerce_google_tag_manager\EventTrackerService->calculateShipping() (line 454 of /home/domain/public_html/site/web/modules/contrib/commerce_google_tag_manager/src/EventTrackerService.php).

  • Status changed to Needs review 10 months ago
  • 🇺🇦Ukraine abramm Lutsk

    The issue is likely caused by the commerce_google_tag_manager module.
    This issue seems relevant: 🐛 Fatal error when calculating shipping for shipments with no set amount RTBC .
    Changing to Needs review for maintainers to confirm it's not Commerce core issue.

  • Status changed to Closed: duplicate 10 months ago
  • 🇮🇱Israel jsacksick

    "Needs review" is for patches, yes definitely not a Commerce core issue, as indicated by the error message itself...

Production build 0.71.5 2024