I encountered an issue where the Paragraph Library forms throw an error if field_modules is not present in the form state.
I was able to fix the error by adding a check to verify if field_modules exists before proceeding. Here is the code snippet I used:
if(!isset($form_state->getStorage()["field_storage"]["#parents"]["#fields"]["field_modules"])){
return;
}
$form_display = $form_state->getStorage()["field_storage"]["#parents"]["#fields"]["field_modules"]["paragraphs"][$key]["display"];
ruvus β changed the visibility of the branch 3398772-errors-regarding-time to active.
ruvus β created an issue.
Hey Lukas von Blarer
Normally we are getting the TimeZone of the actual user.
I don't know if its possible, but can you look if your User not have an TimeZone selected in the backend? Maybe you have to switch it on in the form display settings. I have tried to unselect the timezone, but thats not possible in the backend.
In out module maybe we can get a default TimeZone, if there is nothing selected. Do you have more debug information for us?
- Buy as user or guest?
- Payment Method?
Can you check if for this payment is a user attached?
Please give me a short feedback if you can confirm that no timezone is selected on the usere where this happens. Else we have to dig deeper in this.
Lg ruvus
ruvus β made their first commit to this issueβs fork.
@maxilein
Is it possible to send a picture of which fields you would like this to have?
@hongqing
I've got the same error. You can use this patch from this issue. For me, it worked.
https://www.drupal.org/project/domain/issues/3353885
π
Call to undefined method Symfony\\Component\\HttpFoundation\\RequestStack::getMasterRequest() in Domain Config UI when editing domain-specific site information
Needs work
@coaston & @bharath-kondeti
Thank you for the response. Indeed it was an merge error from sourcetree.
I have updated the code. Now it shoud work again.
@bob.hinrichs
Tested this on me, can you confirm that the error always appears as soon as the order type changes?