Getting error on clicking Download as a zip with all assets

Created on 15 May 2025, 2 days ago

After updating the module from 1.4.10 to 1.4.12, I am getting error on clicking "Download as a zip with all assets"

In recent logs, I can see the following error

Error: Using $this when not in object context in Drupal\single_content_sync\Form\ContentExportForm::Drupal\single_content_sync\Form\{closure}() (line 195 of /app/docroot/modules/contrib/single_content_sync/src/Form/ContentExportForm.php)
#0 /app/vendor/symfony/http-kernel/HttpKernel.php(101): Drupal\single_content_sync\Form\ContentExportForm::Drupal\single_content_sync\Form\{closure}()
#1 /app/vendor/symfony/http-foundation/StreamedResponse.php(106): Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
#2 /app/vendor/symfony/http-foundation/Response.php(423): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#3 /app/docroot/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#4 {main}
🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇮🇳India ashraf.hussain Bangalore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024