Remove the strict warnings from being shown
From the link : 


  If you're going to hack core, a much better solution is to properly
  fix the error handler. Add this line to the top of the
  drupal_error_handler function in includes/common.inc:
  
  if ($errno == E_STRICT) { return; }