- Issue created by @aman_lnwebworks
I am encountering an issue when adding new content.
Steps Reproduce:
1. Installed the enabled module using Composer with the command: composer require 'drupal/content_freeze:^1.0'.
2: when trying to add new content it throws a warning, warning mentioned below.
Deprecated function: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in content_freeze_form_node_form_alter() (line 30 of modules\contrib\content_freeze\content_freeze.module).
I've attached an image illustrating my actions—installing the module and searching within the extended panel.
Active
1.0
Code