User tests: Successful: Unsuccessful:
Pull Request for Issue #17853.
Contact links section does not have the accordion/tab initialization code so when it is the first section to display, the slide/tab cannot be added to.
Install Test English Sample Data demo.
Enable Maximum for Error Reporting.
Under Configuration > Contacts > Contact, set Contact Information to hide.
On front end, click Featured Contacts.
Click Shop Address contact.
No notice warnings.
Notice: Undefined index: JHtmlBootstrap::startAccordion in C:\xampp\htdocs\joomla-cms\libraries\cms\html\bootstrap.php on line 693
Notice: Undefined index: JHtmlBootstrap::startAccordion in C:\xampp\htdocs\joomla-cms\libraries\cms\html\bootstrap.php on line 694
Notice: Undefined index: JHtmlBootstrap::startAccordion in C:\xampp\htdocs\joomla-cms\libraries\cms\html\bootstrap.php on line 695
or
Notice: Undefined index: JHtmlBootstrap::startTabSet in C:\xampp\htdocs\joomla-cms\libraries\cms\html\bootstrap.php on line 788
None
| Status | New | ⇒ | Pending | 
| Category | ⇒ | Front End com_contact | 
| Labels | 
                                        Added: 
?
 | 
    ||
I have tested this item 
@C-Lodder version works too. CS with ':' should be preferred, but CS with '{' is used everywhere in default.php for second level if statements.
I don't know which one is then best.
@C-Lodder version works too. CS with ':' should be preferred, but CS with '{' is used in this default.php for every second level if.
I don't know which one of the two is the best.
Per Joomla's Coding Standards, read Mixed language usage (e.g. at the layout files). Be sure to scroll up a little bit.
@franz-wohlkoenig can you test please?
I have tested this item 
| Status | Pending | ⇒ | Ready to Commit | 
Ready to Commit after two successful tests.
| Status | Ready to Commit | ⇒ | Fixed in Code Base | 
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-03 00:15:16 | 
| Closed_By | ⇒ | mbabker | |
| Labels | 
                                        Added: 
?
 | 
    ||
If the following doesn't cause any errors, it should be used instead: