Issue with swap home page.

Created on 21 December 2023, about 1 year ago

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.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

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

Comments & Activities

Production build 0.71.5 2024