- π¨π¦Canada nickdickinsonwilde Victoria, BC (T'So-uke lands)
Looks to have been fixed in other work.
Relevant line has been replaced with
$options = $instance_options['quick_tabs'] ?? [];
which does the same but cleaner IMO.
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\Plugin\TabRenderer\QuickTabs->optionsForm() (line 29 of modules/contrib/quicktabs/src/Plugin/TabRenderer/QuickTabs.php).
Drupal\quicktabs\Plugin\TabRenderer\QuickTabs->optionsForm(Object) (Line: 112)
The attached patch changes line 29 from:
$options = $instance->getOptions()['quick_tabs'];
..to:
$options = !empty($instance->getOptions()['quick_tabs']) ? $instance->getOptions()['quick_tabs'] : [];
...which I believe should work no differently as far as the rest of the function is concerned.
Closed: outdated
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Looks to have been fixed in other work.
Relevant line has been replaced with
$options = $instance_options['quick_tabs'] ?? [];
which does the same but cleaner IMO.