- Issue created by @NicholasS
- @nicholass opened merge request.
- Status changed to Fixed
about 1 year ago 2:56pm 30 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Run cron on a site which has files to be extracted, but the file is missing/delete but Drupal thinks its there in the file managed table. For example run a prod database, but don't ssh down all the files.
Deprecated function: mb_strcut(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\search_api_attachments\Plugin\search_api\processor\FilesExtractor->limitBytes() (line 412 of modules/contrib/search_api_attachments/src/Plugin/search_api/processor/FilesExtractor.php).
Deprecated function: mb_strcut(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\search_api_attachments\Plugin\search_api\processor\FilesExtractor->limitBytes() (line 412
Have a site missing files that should be indexed by SOLR
Run cron
See error
limitBytes($extracted_text) test that extracted_text is not NULL
Fixed
Code
Automatically closed - issue fixed for 2 weeks with no activity.