$new_profile - Ghost Variable

Created on 25 April 2024, 8 months ago

There is a Ghost variable of "$new_profile" within
commerce_shipping/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php that is not initialised.

Have a look at latest version within: commerce_shipping/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php:446

Remove obsolete if necessary or initialise:
// If the profile was new, it should now be saved: update the cloned
      // profile in the inline form.
      if ($new_profile) {
        $inline_form->setEntity($shipping_profile);
      }

Remaining tasks

None to my knowledge.

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

🇩🇪Germany flefle

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

Comments & Activities

  • Issue created by @flefle
  • Status changed to Closed: won't fix 8 months ago
  • 🇮🇱Israel jsacksick

    I don't think you're running the latest code... Or perhaps a patched version of the module, but there is no such code...

  • Status changed to Closed: cannot reproduce 8 months ago
  • 🇩🇪Germany flefle

    My bad, I wonder to which version it could be and how did it get there. @jsacksick Thank you for solving this "mystery" :)

Production build 0.71.5 2024