- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Yes, the global constants are also gone, so you need to use the FileSystemInterface:: versions, otherwise PHP will assume you meant 'FILE_EXISTS_REPLACE' ie the literal string
TypeError: Argument 3 passed to Drupal\file\FileRepository::writeData() must be of the type int, string given, called in /web/core/modules/file/file.module on line 525 in Drupal\file\FileRepository->writeData() (line 89 of /web/core/modules/file/src/FileRepository.php)
Closed: works as designed
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Yes, the global constants are also gone, so you need to use the FileSystemInterface:: versions, otherwise PHP will assume you meant 'FILE_EXISTS_REPLACE' ie the literal string