Sunday, 15 September 2013

Missing argument php

Missing argument php

I have a function that accepts one argument.
And I want in case that on argument is retrieved to redirect to a page ,
instead of displaying the following error:
Warning: Missing argument 1 for Widget::id(), called in
/home/wurlcom/public_html/beta/libs/Bootstrap.php on line 42 and defined
in /home/wurlcom/public_html/beta/controllers/widget.php on line 16
Any ideas?

No comments:

Post a Comment