Field field_phone is unknown

Created on 9 March 2017, almost 8 years ago
Updated 5 February 2024, 11 months ago

If we forget to add "Phone Field" then Exception found when we are trying to pay using Payumoney . We have to add validation for this.

Uncaught PHP Exception InvalidArgumentException: "Field field_phone is unknown." at /var/www/html/commerce-8/mystore/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php line 471, referer: http://localhost/commerce-8/mystore/web/checkout/1/review

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India visabhishek Hyderabad

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India pgdev

    I recently faced this error too. Almost after wasting 2 days trying to find solutions, I confirm that the solution in #9 worked in Drupal 10. Thanks.

  • First commit to issue fork.
Production build 0.71.5 2024