Is it okay to ignore the error notices I get on a Drupal site? My Drupal 7 site has many error notices like


  Notice: unserialize() [function.unserialize]: Error at offset 225 of
  305 bytes in variable_initialize() (line 943 of
  /site/includes/bootstrap.inc).


or


  Call-time pass-by-reference has been deprecated in drupal_load() in bootstrap.inc


The site still works inspite of the errors. Is it okay to ignore these error notices?
Between the two errors, the first is more worrying.

As variable_set() passes the variables value it receives to serialize(), if unserialize() is not able to understand the saved data, it means the database content is probably corrupted. variable_initialize() calls unserialize() using the following code.

  // Proceed with variable rebuild.
  $variables = array_map('unserialize', db_query('SELECT name, value FROM {variable}')-&gt;fetchAllKeyed());
  cache_set('variables', $variables, 'cache_bootstrap');
  lock_release($name);


The second error says the code is using a feature that is deprecated, which means that in future PHP versions the code could not work anymore, but in the actual PHP version is still working.