Closed (fixed)
Project:
Private Message Invites
Version:
1.0.4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2023 at 19:30 UTC
Updated:
22 Feb 2025 at 10:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jitesh_1The next patch solves the task.
Comment #3
gayatri chahar commentedI submitted patch with some changes
Please review it
Thanks
Comment #4
dharmeshbarot commentedadded content in hook_help()! needs review
Comment #5
paraderojether commented@ gayatri chahar
I applied patch #3 against Private Message Invites 1.0.4 with Drupal core version 9.4.7 and I am getting this error:
"Fatal error: Cannot redeclare private_message_help() (previously declared in /var/www/docroot/modules/private_message/private_message.module:481) in /var/www/docroot/modules/private_message_invite/private_message_invite.module on line 22"
The error can be fixed by renaming the private_message_help into 'private_message_invite_help'.
Please check.
Thank You.
Comment #6
gayatri chahar commentedAddressed #5 comment and made changes in patch
Thanks @paraderojether
Comment #7
gayatri chahar commentedPlease review this one.
Thanks
Comment #8
paraderojether commentedHi @gayatri chahar
I reviewed patch #7 and there's another concern about this patch is getting this Warning: file_get_contents(/var/www/docroot/modules/private_message_invite/README.md): Failed to open stream: No such file or directory in private_message_invite_help() (line 25 of /var/www/docroot/modules/private_message_invite/private_message_invite.module). I just realized that README.txt is not yet replaced with README.md, and this warning can be fixed by replacing the README.md with => README.txt in this line $text = file_get_contents(__DIR__ . '/README.md');.
Could you update the patch?
Thanks!
Comment #9
paraderojether commentedComment #11
himanshu_jhaloya commentedComment #12
himanshu_jhaloya commentedReroll the patch #7 please review
Comment #13
himanshu_jhaloya commentedComment #14
paraderojether commentedHi @ himanshu_jhaloya
I applied patch #12 and this now works fine for me.
Thank You.
Comment #17
manpreet_singh commentedComment #18
manpreet_singh commentedComment #19
manpreet_singh commented