Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting the following warning on a site running Entity API 7.x-1.6. I'm only getting the error on pages that have files attached. No error message if the page does not have files attached. According to PhpStorm, the 4th argument ($entity_type) value is not used anywhere in the entity_metadata_file_access() function anyway. Maybe other modules are using the parameter?
Warning: Missing argument 4 for entity_metadata_file_access() in entity_metadata_file_access() (line 814 of.../entity/modules/callbacks.inc
Drupal 7.43
Entity API 7.x-1.6
PHP 5.3.29
Hosted on Pantheon
Comments