View Issue Details

IDProjectCategoryView StatusLast Update
5671Composrcorepublic2024-04-07 21:36
ReporterMaster Rat Assigned ToPDStig  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version11.alpha1 
Summary5671: Config option homepage_slider_enabled referenced but does not exist
DescriptionAfter 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
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Relationships

related to 5673 ClosedChris Graham No Homeslider catalog after running setupwizard 

Activities

PDStig

2024-04-06 14:46

administrator   ~8523

I probably didn't name the config option correctly. Thank you, I'll look into it.

PDStig

2024-04-07 21:19

administrator   ~8544

The config exists. Are you sure you didn't remove the galleries addon or that the setup wizard didn't accidentally remove it?

PDStig

2024-04-07 21:33

administrator   ~8546

NVM I found the issue looking at the stack trace your site sent in telemetry

admin

2024-04-07 21:36

administrator   ~8547

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.

admin

2024-04-07 21:36

administrator   ~8548

Fixed in Git commit 7417a637d1 (https://gitlab.com/composr-foundation/composr/commit/7417a637d1 - link will become active once code pushed to GitLab)

admin

2024-04-07 21:36

administrator   ~8549

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/).

Issue History

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