I'm getting the following warning when creating a new Quick Tabs instance:
Warning: Trying to access array offset on value of type null in Drupal\quicktabs_accordion\Plugin\TabRenderer\AccordionTabs->optionsForm() (line 26 of modules/contrib/quicktabs/quicktabs_accordion/src/Plugin/TabRenderer/AccordionTabs.php).
Drupal\quicktabs_accordion\Plugin\TabRenderer\AccordionTabs->optionsForm(Object) (Line: 112)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | After-MR.png | 581.04 KB | nikhil_110 |
| #6 | Before-MR.png | 1.12 MB | nikhil_110 |
| #2 | 3280824.patch | 619 bytes | gloomcheng |
Issue fork quicktabs-3280824
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3280824-accordion-tabs
changes, plain diff MR !9
Comments
Comment #2
gloomcheng commentedAttached patch could fix it.
Comment #5
nickdickinsonwildeThanks @gloomcheng for the patch/report. I've expanded it a bit and created a MR which is ready for review.
Comment #6
nikhil_110 commentedThe above MR is applied successfully for Quick Tabs v8.x-3.0-alpha5.
After applying MR the warning messages that show us on the "Add Quick Tabs Instance" page are removed.
Attaching the screenshot for reference.
Test Setps
Comment #9
smustgrave commentedCommitted to new 4.0.x branch.