The follow warning appears when all errors are turned on:

User warning: The following module is missing from the file system: content. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging()

This is due to Drupal 7.50 is now handling error reporting properly for missing modules. See: https://www.drupal.org/node/2487215

Core module 'content' does not exist. It is being called in filefield_sources_update_6001() in fieldfield_sources.install.

/**
 * Enable FileField Sources on all current fields (as was the previous default).
 */
function filefield_sources_update_6001() {
  $ret = array();

  drupal_load('module', 'content');
  module_load_include('inc', 'content', 'includes/content.crud');

  foreach (content_fields() as $field) {
    foreach (node_get_types('types') as $node_type => $type_info) {
      if ($type_field = content_fields($field['field_name'], $node_type)) {
        $type_field['widget']['filefield_sources'] = array(
          'imce' => 'imce',
          'reference' => 'reference',
          'remote' => 'remote',
        );
        content_field_instance_update($type_field);
      }
    }
  }

  // FileField Sources needs to load after both ImageField and FileField.
  $ret[] = update_sql("UPDATE {system} SET weight = 5 WHERE type = 'module' AND name = 'filefield_sources'");

  return $ret;
}

This scheme update is for Drupal 6.x. Removing this function stops the warning regarding the content module missing.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nathandentzau created an issue. See original summary.

nathandentzau’s picture

Attached is my patch for this bug.