Javascript issue when setting an expiry date for entry
The issue here was an error in a translations file:

array(
    'some key' =&gt; 'some value',
    'key missing value',   &lt;== no value assigned to this key
    'other key' =&gt; 'other value value'
);