Prevent the following error:

 * Cannot create references to/from string offsets nor overloaded
   objects in widget.php on line 230