S3FS IMCE File upload issue for old files in Upgraded site

I have a question on IMCE File upload. Hope someone might have come across the similar issue.

Installed modules:

We have added a file/image field and chosen following option from Manage form display [admin/structure/types/manage/mycontent-type/form-display] to have Open File Browser option above the specific field.

Allow users to select files from Imce File Manager for this field.

Also, We have configured right way to populate specific S3 bucket files when we click on File Browser option. We could see all our S3 bucket files when
We have upgraded our Drupal 8.x site to the latest Drupal 9.2.4.

The only problem is that, we are able to upload new files but not able to select old files. When we select old files, it just loads field and nothing happens.

Unfortunately, we could see the only error when we try to upload a old file and looks like this is not the root cause.

#0 ROOT-FOLDERcoreincludesbootstrap.inc(312): _drupal_error_handler_real(2, 'strip_tags() ex...', 'D:\Applications...', 103)
#1 [internal function]: _drupal_error_handler(2, 'strip_tags() ex...', 'D:\Applications...', 103, Array)
#2 ROOT-FOLDERvendortwigtwigsrcEnvironment.php(418) : eval()'d code(103): strip_tags(Array)
#3 ROOT-FOLDERvendortwigtwigsrcTemplate.php(405): __TwigTemplate_2a6388b68ac7765833842f4b9b7c85edae837f9d5494558acc0881d920a11091->doDisplay(Array, Array)
#4 ROOT-FOLDERvendortwigtwigsrcTemplate.php(378): TwigTemplate->displayWithErrorHandling(Array, Array)
#5 ROOT-FOLDERvendortwigtwigsrcTemplate.php(390): TwigTemplate->display(Array)
#6 ROOT-FOLDERcorethemesenginestwigtwig.engine(65): TwigTemplate->render(Array)
#7 ROOT-FOLDERcorelibDrupalCoreThemeThemeManager.php(384): twig_render_template('themes/custom/b...', Array)
#8 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(436): DrupalCoreThemeThemeManager->render('html', Array)
#9 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(201): DrupalCoreRenderRenderer->doRender(Array, true)
#10 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(145): DrupalCoreRenderRenderer->render(Array, true)
#11 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(578): DrupalCoreRenderRenderer->DrupalCoreRender{closure}()
#12 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(146): DrupalCoreRenderRenderer->executeInRenderContext(Object(DrupalCoreRenderRenderContext), Object(Closure))
#13 ROOT-FOLDERcorelibDrupalCoreRenderBareHtmlPageRenderer.php(66): DrupalCoreRenderRenderer->renderRoot(Array)
#14 ROOT-FOLDERcorelibDrupalCoreProxyClassRenderBareHtmlPageRenderer.php(76): DrupalCoreRenderBareHtmlPageRenderer->renderBarePage(Array, Object(DrupalCoreStringTranslationTranslatableMarkup), 'imce_page', Array)
#15 ROOT-FOLDERmodulescontribimcesrcImceFM.php(689): DrupalCoreProxyClassRenderBareHtmlPageRenderer->renderBarePage(Array, Object(DrupalCoreStringTranslationTranslatableMarkup), 'imce_page', Array)
#16 ROOT-FOLDERmodulescontribimcesrcImceFM.php(708): DrupalimceImceFM->buildRenderPage()
#17 ROOT-FOLDERmodulescontribimcesrcImce.php(27): DrupalimceImceFM->pageResponse()
#18 ROOT-FOLDERmodulescontribimcesrcControllerImceController.php(35): DrupalimceImce::response(Object(SymfonyComponentHttpFoundationRequest), Object(DrupalCoreSessionAccountProxy), 's3')
#19 [internal function]: DrupalimceControllerImceController->page('s3', Object(SymfonyComponentHttpFoundationRequest))
#20 ROOT-FOLDERcorelibDrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#21 ROOT-FOLDERcorelibDrupalCoreRenderRenderer.php(578): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
#22 ROOT-FOLDERcorelibDrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber.php(124): DrupalCoreRenderRenderer->executeInRenderContext(Object(DrupalCoreRenderRenderContext), Object(Closure))
#23 ROOT-FOLDERcorelibDrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber.php(97): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#24 ROOT-FOLDERvendorsymfonyhttp-kernelHttpKernel.php(158): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
#25 ROOT-FOLDERvendorsymfonyhttp-kernelHttpKernel.php(80): SymfonyComponentHttpKernelHttpKernel->handleRaw(Object(SymfonyComponentHttpFoundationRequest), 1)
#26 ROOT-FOLDERcorelibDrupalCoreStackMiddlewareSession.php(57): SymfonyComponentHttpKernelHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#27 ROOT-FOLDERcorelibDrupalCoreStackMiddlewareKernelPreHandle.php(47): DrupalCoreStackMiddlewareSession->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#28 ROOT-FOLDERcorelibDrupalCoreStackMiddlewareReverseProxyMiddleware.php(47): DrupalCoreStackMiddlewareKernelPreHandle->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#29 ROOT-FOLDERcorelibDrupalCoreStackMiddlewareNegotiationMiddleware.php(52): DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#30 ROOT-FOLDERvendorstackbuildersrcStackStackedHttpKernel.php(23): DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#31 ROOT-FOLDERcorelibDrupalCoreDrupalKernel.php(717): StackStackedHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#32 ROOT-FOLDERindex.php(19): DrupalCoreDrupalKernel->handle(Object(SymfonyComponentHttpFoundationRequest))
#33 {main}

Could someone please help us in finding the root cause of the issue?

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

S3FS IMCE File upload issue for old files in Upgraded site

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.