Stuart Wright
Well-known member
And what exactly did you do to trigger the error and is it repeatable?This appeared just after the upgrade.
not something that makes some issue or something that I can see, just noted the exception.
And what exactly did you do to trigger the error and is it repeatable?This appeared just after the upgrade.
not something that makes some issue or something that I can see, just noted the exception.
I just did an upgrade, nothing else. as I said at the beginning.And what exactly did you do to trigger the error and is it repeatable?
Almost certainly happened because and while the addon was upgrading. If it hasn't happened since, don't worry about it.I just did an upgrade, nothing else. as I said at the beginning.
After the upgrade I went to the Admin control panel and saw this errors in the dashboard.
Server error log
TypeError: AVForums\TagEssentials\Repository\TagWatch::setWatchState(): Argument #1 ($tagWatch) must be of type AVForums\TagEssentials\Entity\TagWatch, null given, called in /home/nginx/domains/xf.com/public/src/addons/AVForums/TagEssentials/XF/Pub/Controller/Tag.php on line 308 src/addons/AVForums/TagEssentials/Repository/TagWatch.php:20
Generated by: User Nov 18, 2022 at 10:57 PM
Stack trace
#0 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Tag.php(308): AVForums\TagEssentials\Repository\TagWatch->setWatchState(NULL, 'delete')
#1 src/XF/Mvc/Dispatcher.php(352): AVForums\TagEssentials\XF\Pub\Controller\Tag->actionWatch(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Watch', Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\XF\Pub\Controller\Tag), NULL)
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\XF\Pub\Controller\Tag), NULL)
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#6 src/XF.php(524): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(17) "/tags/claim/watch"
["referrer"] => string(32) "https://xf.com/tags/claim/"
["_GET"] => array(1) {
["/tags/claim/watch"] => string(0) ""
}
["_POST"] => array(5) {
["_xfToken"] => string(8) "********"
["stop"] => string(1) "1"
["_xfRequestUri"] => string(12) "/tags/claim/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
@Xon, any ideas?Error logged.
PHP:Server error log TypeError: AVForums\TagEssentials\Repository\TagWatch::setWatchState(): Argument #1 ($tagWatch) must be of type AVForums\TagEssentials\Entity\TagWatch, null given, called in /home/nginx/domains/xf.com/public/src/addons/AVForums/TagEssentials/XF/Pub/Controller/Tag.php on line 308 src/addons/AVForums/TagEssentials/Repository/TagWatch.php:20 Generated by: User Nov 18, 2022 at 10:57 PM Stack trace #0 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Tag.php(308): AVForums\TagEssentials\Repository\TagWatch->setWatchState(NULL, 'delete') #1 src/XF/Mvc/Dispatcher.php(352): AVForums\TagEssentials\XF\Pub\Controller\Tag->actionWatch(Object(XF\Mvc\ParameterBag)) #2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Watch', Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\XF\Pub\Controller\Tag), NULL) #3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\XF\Pub\Controller\Tag), NULL) #4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run() #6 src/XF.php(524): XF\App->run() #7 index.php(20): XF::runApp('XF\\Pub\\App') #8 {main} Request state array(4) { ["url"] => string(17) "/tags/claim/watch" ["referrer"] => string(32) "https://xf.com/tags/claim/" ["_GET"] => array(1) { ["/tags/claim/watch"] => string(0) "" } ["_POST"] => array(5) { ["_xfToken"] => string(8) "********" ["stop"] => string(1) "1" ["_xfRequestUri"] => string(12) "/tags/claim/" ["_xfWithData"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
Fix double-clicking unwatch in a row could cause a server error on the 2nd unwatch
LogicException: Could not determine dependable add-on; please override in src/addons/AVForums/TagEssentials/XF/Repository/Tag.php at line 963
AVForums\TagEssentials\XF\Repository\Tag->getDependsOnAddOnIdForTagEss() in src/addons/AVForums/TagEssentials/XF/Repository/Tag.php at line 913
AVForums\TagEssentials\XF\Repository\Tag->addTagIdsToContent() in src/addons/DBTech/Credits/XF/Repository/Tag.php at line 20
DBTech\Credits\XF\Repository\Tag->addTagIdsToContent() in src/XF/Repository/Tag.php at line 388
XF\Repository\Tag->modifyContentTags() in src/XF/Service/Tag/Changer.php at line 323
XF\Service\Tag\Changer->save() in src/addons/XenAddons/AMS/Service/ArticleItem/Create.php at line 381
XenAddons\AMS\Service\ArticleItem\Create->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
XenAddons\AMS\Service\ArticleItem\Create->save() in src/addons/XenAddons/AMS/Pub/Controller/Category.php at line 341
XenAddons\AMS\Pub\Controller\Category->actionAdd() in src/addons/OzzModz/XFMGAttachmentMirroringAlbum/XenAddons/AMS/Pub/Controller/Category.php at line 12
OzzModz\XFMGAttachmentMirroringAlbum\XenAddons\AMS\Pub\Controller\Category->actionAdd() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
This error only shows up if you have debug mode enabled, which is strongly not recommended for a production site.@Xon how much would it cost to get support for AMS/Showcase (and possibly other add-ons by Bob)?
- Fix per-tag "Restrict addition of tag to threads in these forums" option being unexpectedly applied in some cases
- Fix behaviour of per-tag "Restrict addition of tag to threads in these forums" option to correctly apply the "none" option and to deselect if forums being applied when unchecked
It will be blocked for a different reason but a generic error is shown. @Xon is working on improving the error report to be more specific.Hi,
when I like to add some tags to posts where are existing tags, I get the message "tag blacklisted" but it isn't definately blacklisted.
Kai
different reason
User permissions (can create content tag, can tag own thread), max tags per thread, max tags per user, tag length, stop words (which are different to the blacklist).Which other reason could it be?
I have admin permissions ...User permissions
I'll message you privately. I don't want to clutter up this thread with one specific issue.I have admin permissions ...
can create content tag -> yes
can tag own thread -> yes
max tags per thread -> limit not reached
max tags per user -> no limit for admin (?)
tag length -> ok
stop words -> ok
It seems, it must be another issue ...
We showed a generic 'tag is blacklisted' type error when a tag was rejected. Now we have a more useful error message.
We use essential cookies to make this site work, and optional cookies to enhance your experience.