Problem/Motivation
Can you please remove the content lock patch. because its added already to the module and its giving the below error
Fatal error: Cannot redeclare Drupal\content_lock\ContentLock\ContentLock::$time in /Applications/MAMP/htdocs/one-cms-copy/docroot/modules/contrib/content_lock/src/ContentLock/ContentLock.php on line 113
Steps to reproduce
Proposed resolution
Remove the below patch in composer json
"3343964 - Fix PHP 8.2 deprecation notices":"https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch"
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Remove_content_lock_deprecation_patch-3464586.patch | 1.28 KB | ananya.k |
Issue fork ezcontent_publish-3464586
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3464586-remove-content-lock
changes, plain diff MR !3
Comments
Comment #4
ananya.k commented@kmani,
I have made changes to the composer file. Please refer to the attached patch.
Comment #6
abhineshThanks, @ananyak for the contribution, but the only patch that needs to be removed but accidentally content_lock dependency was removed in the above patch.
Comment #7
abhineshComment #8
ananya.k commented