- Issue created by @aman_lnwebworks
- Status changed to RTBC
11 months ago 5:54am 21 December 2023 - 🇮🇳India dineshkumarbollu
Hi @aman_lnwebworks
The patch applied cleanly and fixes the error.Attaching screenshot.
Thanks
Steps Reproduce:
1: Install the module using Composer with the command: composer require 'drupal/homepage_swap:^1.0'.
2: Go to /admin/config/homepage_swap/settings. and choose Swappable Content Types.
3: After that Go to /admin/content/swap_homepage. and select the home page.
4: After clicking the "Save Configuration" button it throws an error. error mention below
Error: Call to a member function setUnpublished() on null in Drupal\homepage_swap\Form\Swap->submitForm() (line 112 of modules\contrib\homepage_swap\src\Form\Swap.php).
I've attached an image illustrating my actions—installing the module and searching within the extended panel.
1.0
Code
Hi @aman_lnwebworks
The patch applied cleanly and fixes the error.Attaching screenshot.
Thanks