Automatically closed - issue fixed for 2 weeks with no activity.
My checkout process works with normal functionality (customer can add items to cart, fill in an address and pay).
Then I wanted to add a pickup point. So I've followed the instructions on the Youtube tutorial (19:10). But at 19:10 when adding a shipping method, he gets the option at Customer > Pickup addres to enter extra Set up info.
I don't have the Set up info for the Customer > pickup address.
Weird thing is:
- When enabling Customer > pickup address, I do not get it.
- When enabling Customer > pickup hours, I do get it.
- When enabling it the other way around, Customer > pickup hours and then Customer > pickup address, the hours get the Set up options, but the address doesn't.
- When enabling Customer > pickup address, then enabling Customer > pickup hours, neither of the two options get the Set up options. (Unless this is the first action/restriction I do, then the hours do get Set up.., to not make it comoplicated at all.)
Of course, when saving it says there is an error, seeing that I need to enter extra data in to the set up fields.
Drupal\Core\Database\InvalidQueryException: Query condition 'profile__pickup_stores.pickup_stores_target_id IN ()' cannot be empty. in Drupal\Core\Database\Query\Condition->condition() (line 117 of .../www/core/lib/Drupal/Core/Database/Query/Condition.php).
The error log also states:
Warning: array_keys() expects parameter 1 to be array, null given in Drupal\commerce_pickup\Plugin\Commerce\Condition\PickupAddress->buildConfigurationForm() (line 77 of .../www/modules/contrib/commerce_pickup/src/Plugin/Commerce/Condition/PickupAddress.php)
If this is not an issue and I've configured something wrongly, sorry to be reporting it as a bug then, but some help would be very appreciated! Thanks in advance.
If additional information is needed, please ask.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.