Problem/Motivation
Issue #2830710 was prematurely closed without patching the code and releasing a fix. Four years later this is still a problem in released code base.
The problem / error message:
Notice: Undefined offset: 2 in freelancer_zymphonies_theme_preprocess_page() (line 131 of /app/themes/custom/freelancer_zymphonies_theme/freelancer_zymphonies_theme.theme).
Proposed resolution
Create a patch based on proposed solution in #2830710. Test. Release fixed code.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Fix_2830710_Undefined_Offest-3166848-1.patch | 2.11 KB | mike stewart |
Comments
Comment #2
mike stewart commentedComment #3
mike stewart commentedComment #4
mike stewart commentedComment #8
zymphonies-dev commentedComment #10
gisleWhen looking at the code of 2.0.2, it looks like this has only been partly committed. The notice still shows up.
Since this is closed, I am going to open a new issue: #3212169: Undefined offset: 2 in freelancer_zymphonies_theme_preprocess_page().