Jump to content


Photo

PHP warning when adding database field


Clean install of 2.3.2, created new database, click add field, following PHP warning displayed at top of form:

Warning: Invalid argument supplied for foreach() in E:\wamp\www\ipslatest\admin\sources\classes\output\adminOutput.php on line 1843
Call Stack
# Time Memory Function Location
1 0.0004 335800 {main}( ) ..\index.php:0
2 0.0133 1728560 ipsController::run( ) ..\index.php:39
3 0.1073 10968200 ipsController->handleRequest( ) ..\ipsController.php:65
4 0.1092 11153152 ipsCommand->execute( ) ..\ipsController.php:120
5 0.1095 11153464 admin_ccs_databases_fields->doExecute( ) ..\ipsController.php:306
6 0.1398 11748536 admin_ccs_databases_fields->_fieldForm( ) ..\fields.php:148
7 0.1580 12850992 cp_skin_database_fields->fieldForm( ) ..\fields.php:621
8 0.1582 12851784 adminOutput->formDropdown( ) ..\cp_skin_database_fields.php:82

Doesn't seem to affect the form, can still add the field

Status: Duplicate
Version: 2.3.2
Fixed In:


5 Comments

Photo
Marcher Technologies
Jul 07 2012 03:53 AM
I also get this
Warning: Invalid argument supplied for foreach() in /home/a12959/public_html/admin/sources/classes/output/adminOutput.php on line 1844

I also get this
Warning: Invalid argument supplied for foreach() in /home/a12959/public_html/admin/sources/classes/output/adminOutput.php on line 1844

Same issue that marcher linked above.
Photo
Sailfindragon
Sep 01 2012 03:22 AM
/admin/sources/classes/output/adminOutput.php on line 1844

Same issue here.
http://community.inv...e-fields-r37566

this fix seems to correct this error