TypeError: Argument 1 passed to XF\Language::getEffectivePhraseName() must be of the type string, null given, called in /www/sites/site.com/html/src/XF/Language.php on line 108 src/XF/Language.php:194
Generated by: Unknown account Oct 31, 2022 at 12:20 PM
Stack trace
#0 src/XF/Language.php(108): XF\Language->getEffectivePhraseName(NULL)
#1 src/XF.php(807): XF\Language->phrase(NULL, Array, true, true)
#2 src/addons/ThemeHouse/AttachmentsPlus/Pub/Controller/AttachmentManager.php(148): XF::phrase(NULL)
#3 src/addons/ThemeHouse/AttachmentsPlus/Pub/Controller/AttachmentManager.php(94): ThemeHouse\AttachmentsPlus\Pub\Controller\AttachmentManager->assertUserAttachment('281768')
#4 src/XF/Mvc/Dispatcher.php(352): ThemeHouse\AttachmentsPlus\Pub\Controller\AttachmentManager->actionDelete(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Atta...', 'Delete', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\AttachmentsPlus\Pub\Controller\AttachmentManager), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\AttachmentsPlus\Pub\Controller\AttachmentManager), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(44) "/account/th-attachment-manager/281768/delete"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/account/th-attachment-manager/281768/delete"] => string(0) ""
}
["_POST"] => array(0) {
}
}
im pretty sure that is default behavior....to avoid deleting content but respecting privacy etcDoes anyone that has this addon installed, and have members that have uploaded pics and then the account deleted? If so, please check if all the content for that "deleted" member gets moved into associated with "guest" user, and is then available to all non-logged-in / guest visitors?
From an xf perspective, this makes sense since the attachments are lightly spread through hundreds of thousands (maybe millions) of posts.im pretty sure that is default behavior....to avoid deleting content but respecting privacy etc
Hi Ozzy, i have to notice one strange behaviour with this addon.We’ll check it out.
Did you manage to solve this?Hi Ozzy, i have to notice one strange behaviour with this addon.
If one user upload an attachment in the post editor, then decide to remove the attachment before send the post online, the attachment remain visible into his personal attachments list view and cannot be deleted by him.
All the other attachments yes, he can delete them.
But all those uploaded and not publish in the post, not.
Is there a way to allow user to delete also these attachments? thanks.
Potential Security Issue?
We were running "[TH] Attachments Plus 1.0.1 Patch Level 8" and got reports that attachments from members that were "deleted" were showing up for members that were logged-off as guests.
We updated to this addon hoping it would fix the problem, but unfortunately it remains
I think what is happening:
Hopefully that makes sense?
- User uploads pics
- Only their pics are only visible to them when they go to domain.com/account/th-attachment-manager/
- If the member's account is "deleted" the attachments remain in the system?
- If a GUEST visits the link, they see all the "deleted" member's pics because those pics are now associated to the main "Guest" account
Anybody else able to duplicate this?
Hi Ozzy, i have to notice one strange behaviour with this addon.
If one user upload an attachment in the post editor, then decide to remove the attachment before send the post online, the attachment remain visible into his personal attachments list view and cannot be deleted by him.
All the other attachments yes, he can delete them.
But all those uploaded and not publish in the post, not.
Is there a way to allow user to delete also these attachments? thanks.
Wow, that was a super simple fix. Sorry I didn't know this was an option to remove viewability for guests. Thanks!!!Attachements page has to be accessable only by registered users.
Seconded, thank you@Ozzy47 will this addon need an update for XF2.3 and if so what is the ETA please?
Thanks
Bump@Ozzy47 will this addon need an update for XF2.3 and if so what is the ETA please?
Thanks
We use essential cookies to make this site work, and optional cookies to enhance your experience.