#1926 - Setup Wizard critical error-bailing out

Identifier #1926
Issue type Major issue (breaks an entire feature)
Title Setup Wizard critical error-bailing out
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description Received critical error with stack trace at last step of Setup Wizard:
Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP ERROR [1] Call to undefined function delete_menu_item_simple() in adminzone\pages\modules\admin_setupwizard.php(1033) : eval()'d code on line 37
Stack trace…

File -> E:\xampp\htdocs\composr\sources\failure.php
Line -> 253
Function -> critical_error
Args -> a:2:{i:0;s:9:"EMERGENCY";i:1;s:153:"PHP ERROR [1] Call to undefined function delete_menu_item_simple() in adminzone\pages\modules\admin_setupwizard.php(1033) : eval()'d code on line 37";}
File -> E:\xampp\htdocs\composr\sources\global2.php
Line -> 738
Function -> _composr_error_handler
Args -> a:6:{i:0;s:5:"error";i:1;i:1;i:2;s:52:"Call to undefined function delete_menu_item_simple()";i:3;s:67:"adminzone\pages\modules\admin_setupwizard.php(1033) : eval()'d code";i:4;i:37;i:5;i:4;}
File -> E:\xampp\htdocs\composr\sources\global2.php
Line -> 669
Function -> composr_error_handler
Args -> a:4:{i:0;i:1;i:1;s:52:"Call to undefined function delete_menu_item_simple()";i:2;s:91:"E:\xampp\htdocs\composr\adminzone\pages\modules\admin_setupwizard.php(1033) : eval()'d code";i:3;i:37;}
Function -> catch_fatal_errors
Args -> a:0:{}


I didn't choose to install all of the sample catalogues earlier in the setup wizard. I think sources\hooks\modules\admin_setupwizard\catalogues.php is the source of the error. Should the set_fields() if clauses that make calls to the delete_menu_item_simple function also have require_code('menus2');?
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated