# Bugs #3004: PHP Warning: Missing argument 1 for select\_widget::select\_widget()

**URL:** <https://help.egroupware.org/t/bugs-3004-php-warning-missing-argument-1-for-select-widget-select-widget/48507>\
**Category:** eGW-tracker\
**Created:** [July 26, 2011, 7:44am UTC](https://help.egroupware.org/t/bugs-3004-php-warning-missing-argument-1-for-select-widget-select-widget/48507 "2011-07-26T07:44:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tracker-3](https://help.egroupware.org/letter_avatar_proxy/v4/letter/t/d07c76/32.png) [@tracker-3](https://help.egroupware.org/u/tracker-3)\
**Post date:** [July 26, 2011, 7:44am UTC](https://help.egroupware.org/t/bugs-3004-php-warning-missing-argument-1-for-select-widget-select-widget/48507/1 "2011-07-26T07:44:46Z")

</div>

Ticket modified by Klaus Leithoff at 2011/07/26 09:44  
Tracking SystemBugs  
CategoryAPI  
VersionTrunk  
StatusPending  
ResolutionFixed  
Completed100%  
Priority5 - medium  
Created byLaurent Rougé  
Created on2011/07/05 17:01  
Assigned toRalf Becker  
Summary#3004 - PHP Warning: Missing argument 1 for select\_widget::select\_widget()  
During categories creation, edition and so on i have the following error :

PHP Warning: Missing argument 1 for select\_widget::select\_widget(), called in /egroupware/phpgwapi/inc/common\_functions.inc.php on line 791 and defined in /egroupware/etemplate/inc/class.select\_widget.inc.php on line 78

Comment by Klaus Leithoff at 2011/07/26 09:44:  
Commited the suggested solution.  
Comment by Klaus Leithoff at 2011/07/25 12:18:  
I suggest we make this param optional? Ralf, what do you think?  
I have that within my dev System for a while now, and I could not find any undesireable sideeffects.

Linked entries:  
[https://community.egroupware.org/egroupware/index.php?menuaction=tracker.tracker\_ui.edit&tr\_id=3004&no\_popup=1](https://community.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=3004&no_popup=1)
