I have multiples warnings, for example :
Warning: include_once(): Failed opening ‘/var/www/website/web/core/modules/file/templates/file.field.inc’ for inclusion (include_path=’/var/www/website/web/vendor/pear/archive_tar:/var/www/website/web/vendor/pear/console_getopt:/var/www/website/web/vendor/pear/pear-core-minimal/src:/var/www/website/web/vendor/pear/pear_exception:.:/usr/share/php’) in include_once() (line 484 of core/lib/Drupal/Core/Theme/Registry.php).
Warning: include_once(/var/www/website/web/core/modules/file/templates/file.field.inc): failed to open stream: No such file or directory in include_once() (line 484 of core/lib/Drupal/Core/Theme/Registry.php).
The file exist at /var/www/website/web/core/modules/file/file.field.inc but not /var/www/website/web/core/modules/file/templates/file.field.inc. Where does this “templates” come from ? Where is this path set with “templates” ?
Configuration
Drupal version : 8.7.2 Site URI : http://default DB driver : mysql DB hostname : mariadb DB port : DB username : wordpress DB name : wordpress Database : Connected Drupal bootstrap : Successful Default theme : ubl Admin theme : seven PHP binary : /usr/bin/php7.1 PHP config : /etc/php/7.1/cli/php.ini PHP OS : Linux Drush script : /usr/local/bin/drush Drush version : 9.6.2 Drush temp : /tmp Drush configs : /var/www/website/web/vendor/drush/drush/drush.yml Install profile : standard Drupal root : /var/www/website/web Site path : sites/default Files, Public : sites/default/files Files, Temp : /tmp