#5670 - Setup Wizard stack trace on step 6 when using preview
| Identifier | #5670 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | Setup Wizard stack trace on step 6 when using preview |
| Status | Completed |
| Handling member | PDStig |
| Version | 11 alpha1 |
| Addon | setupwizard |
| Description | I got to 6 of 10 changed what I didn't want shown and hit save and the page went to error on save. |
| Steps to reproduce | take a few options out and add a couple in then hit save. |
| Additional information | An error has occurred
PHP WARNING [2] Undefined array key "start" in sources/hooks/systems/preview/setupwizard_blocks.php on line 63 (version: 11 alpha1, PHP version: 8.3.4, URL: https://rats-world.com/data/preview.php?page=admin_setupwizard&type=step6) Here is the stack trace: Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly. File '/homepages/22/******/htdocs/rats-world.com/sources/failure.php' Line 544 Function 'get_html_trace' Args File '/homepages/22/d960776748/htdocs/rats-world.com/sources/failure.php' Line 316 Function '_generic_exit' Args 'PHP WARNING [2] Undefined array key "start" in sources/hooks/systems/preview/setupwizard_blocks.php on line 63 (version: 11 alpha1, PHP version: 8.3.4, URL: https://rats-world.com/data/preview.php?page=admin_setupwizard&type=step6)' 'FATAL_SCREEN' false false 500 File '/homepages/22/*****/htdocs/rats-world.com/sources/global2.php' Line 1,458 Function '_composr_error_handler' Args 'warning' 2 'Undefined array key \"start\"' 'sources/hooks/systems/preview/setupwizard_blocks.php' 63 4 'FATAL' File '/homepages/22/******/htdocs/rats-world.com/sources/hooks/systems/preview/setupwizard_blocks.php' Line 63 Function 'composr_error_handler' Args 2 'Undefined array key \"start\"' 'sources/hooks/systems/preview/setupwizard_blocks.php' 63 File '/homepages/22/*****/htdocs/rats-world.com/sources/preview.php' Line 56 Function 'run' Class 'Hook_preview_setupwizard_blocks' Object {} Type '->' Args File '/homepages/22/******/htdocs/rats-world.com/sources/misc_scripts.php' Line 260 Function 'build_preview' Args true File '/homepages/22/*****/htdocs/rats-world.com/data/preview.php' Line 56 Function 'preview_script' Args Parameters y510cec099ed0f39ffaddda6b4a56d795 csrf_token fc07ff2458284 skip_6 0 skip_5 0 skip_4 0 skip_3 0 csrf_token_preserve 1 http_referer https://rats-world.com/adminzone/index.php?page=admin-setupwizard js_token f9709cf5cba51 source_theme default installprofile community site_name Rats World description Rats World home to music, poetry and humor. site_scope Rats World home to Music, poetry and humor. keywords Brat Rat, Rat, Dostani, humor, poetry, music, forums, discussions, chat, community timezone America/New_York google_analytics security_level medium addon_news_shared 1 addon_setupwizard 1 addon_content_reviews 1 addon_debrand 1 addon_match_key_permissions 1 addon_chat 1 addon_cns_forum 1 addon_cns_member_avatars 1 addon_cns_member_photos 1 addon_cns_warnings 1 addon_content_privacy 1 addon_recommend 1 addon_welcome_emails 1 addon_leader_board 1 addon_points 1 addon_cns_avatars 1 addon_cns_cartoon_avatars 1 addon_cns_thematic_avatars 1 addon_calendar 1 addon_cns_post_templates 1 addon_forum_blocks 1 addon_news 1 addon_polls 1 addon_random_quotes 1 addon_downloads 1 addon_quizzes 1 addon_actionlog 1 addon_apache_config_files 1 addon_awards 1 addon_breadcrumbs 1 addon_captcha 1 addon_catalogues 1 addon_cns_cpfs 1 addon_code_editor 1 addon_commandr 1 addon_counting_blocks 1 addon_custom_comcode 1 addon_errorlog 1 addon_facebook_support 1 addon_filebased_persistent_caching 1 addon_filedump 1 addon_getid3 1 addon_health_check 1 addon_help_page 1 addon_helper_scripts 1 addon_import 1 addon_language_block 1 addon_page_management 1 addon_phpinfo 1 addon_printer_friendly_block 1 addon_redirects_editor 1 addon_robots_txt 1 addon_rootkit_detector 1 addon_search 1 addon_securitylogging 1 addon_stats 1 addon_stats_block 1 addon_syndication 1 addon_syndication_blocks 1 addon_themewizard 1 addon_tickets 1 addon_twitter_support 1 addon_uninstaller 1 addon_users_online_block 1 addon_validation 1 addon_weather 1 addon_xml_fields 1 keep_blogs 1 keep_news_categories 1 label_for__block_SITE_main_forum_news Forum News display block_SITE_main_forum_news NO require__block_SITE_main_forum_news 1 label_for__block_SITE_main_forum_topics Forum topics listing block_SITE_main_forum_topics NO require__block_SITE_main_forum_topics 1 label_for__block_SITE_main_multi_content Content display (multiple items together) block_SITE_main_multi_content NO require__block_SITE_main_multi_content 1 label_for__block_SITE_main_news News/Blogs display block_SITE_main_news NO require__block_SITE_main_news 1 label_for__block_SITE_main_quotes Random quote display block_SITE_main_quotes YES require__block_SITE_main_quotes 1 label_for__block_SITE_main_rss RSS display block_SITE_main_rss NO require__block_SITE_main_rss 1 label_for__block_SITE_main_search Search form block_SITE_main_search NO require__block_SITE_main_search 1 label_for__block_SITE_main_poll Poll display block_SITE_main_poll NO require__block_SITE_main_poll 1 label_for__block_SITE_main_leader_board Points Leader-board block_SITE_main_leader_board NO require__block_SITE_main_leader_board 1 label_for__block_SITE_side_calendar Calendar events listing block_SITE_side_calendar PANEL_RIGHT require__block_SITE_side_calendar 1 label_for__block_SITE_side_cns_private_topics Private Topics listing block_SITE_side_cns_private_topics NO require__block_SITE_side_cns_private_topics 1 label_for__block_SITE_side_forum_news Forum News display block_SITE_side_forum_news NO require__block_SITE_side_forum_news 1 label_for__block_SITE_side_news News/Blogs display block_SITE_side_news NO require__block_SITE_side_news 1 label_for__block_SITE_side_news_archive News archive (by month) block_SITE_side_news_archive NO require__block_SITE_side_news_archive 1 label_for__block_SITE_side_news_categories News/blog categories listing block_SITE_side_news_categories NO require__block_SITE_side_news_categories 1 label_for__block_SITE_side_printer_friendly Printer-Friendly link block_SITE_side_printer_friendly NO require__block_SITE_side_printer_friendly 1 label_for__block_SITE_side_rss RSS display block_SITE_side_rss NO require__block_SITE_side_rss 1 label_for__block_SITE_side_shoutbox Shout Box block_SITE_side_shoutbox NO require__block_SITE_side_shoutbox 1 label_for__block_SITE_side_stats Site statistics block_SITE_side_stats PANEL_RIGHT require__block_SITE_side_stats 1 label_for__block_SITE_side_tag_cloud Tag cloud block_SITE_side_tag_cloud NO require__block_SITE_side_tag_cloud 1 label_for__block_SITE_side_users_online Online users listing block_SITE_side_users_online PANEL_RIGHT require__block_SITE_side_users_online 1 |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Also I'm classifying this as a minor bug because it's beyond a textual issue (which we use trivial for)
Setup Wizard stack trace on step 6 when using preview
undefined key 'start'. This was the old default page name in v10. In v11, it is now a constant. This was fixed.