View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5671 | Composr | core | public | 2024-04-06 04:20 | 2024-04-07 21:36 |
Reporter | Master Rat | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.alpha1 | ||||
Summary | 5671: Config option homepage_slider_enabled referenced but does not exist | ||||
Description | After I hit save to complete the wizard it went to the normal screen showing the options, one was going back to the home page so I did. Now when I view the page I get this error and no homeslider is shown. NOTICE [1024] A configuration option (homepage_slider_enabled) which does not exist was referenced in sources/config.php on line 446 | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
related to | 5673 | Closed | Chris Graham | No Homeslider catalog after running setupwizard |
|
I probably didn't name the config option correctly. Thank you, I'll look into it. |
|
The config exists. Are you sure you didn't remove the galleries addon or that the setup wizard didn't accidentally remove it? |
|
NVM I found the issue looking at the stack trace your site sent in telemetry |
|
Automated response: Config option homepage_slider_enabled referenced but does not exist Config option homepage_slider_enabled referenced but does not exist This happens because gallery addon was uninstalled, yet Tempcode was evaluating the addon check and the config option together. This should have been a nested IF directive, only checking the theme option if gallery is installed. |
|
Fixed in Git commit 7417a637d1 (https://gitlab.com/composr-foundation/composr/commit/7417a637d1 - link will become active once code pushed to GitLab) |
|
A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-06 04:20 | Master Rat | New Issue | |
2024-04-06 14:46 | PDStig | Category | setupwizard => core_configuration |
2024-04-06 14:46 | PDStig | Summary | After Effects of Setup Wizard Save => Config option homepage_slider_enabled referenced but does not exist |
2024-04-06 14:46 | PDStig | Note Added: 0008523 | |
2024-04-06 14:49 | PDStig | Relationship added | related to 5673 |
2024-04-07 21:19 | PDStig | Note Added: 0008544 | |
2024-04-07 21:33 | PDStig | Note Added: 0008546 |