There should be a call to that function somewhere that only uses one argument.
An easier fix you might try, though, is to give them default values:
public function addShadowBox($initialWidth = 100, $initialHeight = 100);
That way neither argument is required. You may have to play with the numbers if that goofs up the display.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html