- Joined
- Jul 3, 2019
- Messages
- 208
- Points
- 53
Reputation:
Reputation:
Reputation:
Reputation:
Reputation:
Reputation:
Reputation:
Reputation:
Still waiting for a long time!
Reputation:
Notable changes:
- Merge forum sidebar into group side navigation.
- Fixed promote group member did not apply promote user groups
- Fixed cover group text too long
- Fixed send group alert did not respect watch alert activity limit option.
Reputation:
ErrorException: [E_WARNING] Cannot declare class Truonglv\Groups\XF\Entity\XFCP_Node, because the name is already in use in src/XF/Extension.php at line 171
XF::handlePhpError()
class_alias() in src/XF/Extension.php at line 171
XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 55
XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 69
XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Mvc/Entity/Manager.php at line 225
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
XF\Mvc\Entity\Repository->finder() in src/XF/Repository/Node.php at line 28
XF\Repository\Node->getFullNodeList() in src/addons/Truonglv/Groups/XF/Repository/Node.php at line 38
Truonglv\Groups\XF\Repository\Node->getFullNodeList() in src/XF/Permission/NodePermissions.php at line 76
XF\Permission\NodePermissions->getContentTree() in src/XF/Permission/TreeContentPermissions.php at line 23
XF\Permission\TreeContentPermissions->setupBuildTypeData() in src/XF/Permission/NodePermissions.php at line 67
XF\Permission\NodePermissions->setupBuildTypeData() in src/XF/Permission/AbstractContentPermissions.php at line 48
XF\Permission\AbstractContentPermissions->setupBuildData() in src/XF/Permission/AbstractContentPermissions.php at line 21
XF\Permission\AbstractContentPermissions->__construct() in src/XF/Permission/Builder.php at line 116
XF\Permission\Builder->getContentHandler() in src/XF/Permission/Builder.php at line 85
XF\Permission\Builder->getContentHandlers() in src/XF/Permission/Builder.php at line 148
XF\Permission\Builder->rebuildCombinationContent() in src/XF/Permission/Builder.php at line 142
XF\Permission\Builder->rebuildCombination() in src/XF/Job/PermissionRebuild.php at line 58
XF\Job\PermissionRebuild->run() in src/XF/Job/Atomic.php at line 40
XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 260
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
XF\Admin\Controller\Tools->actionRunJob() 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 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in admin.php at line 13
Reputation:
Thank you for updating the addon.
After updating, I got this error:
ErrorException: [E_WARNING] Cannot declare class Truonglv\Groups\XF\Entity\XFCP_Node, because the name is already in use in src/XF/Extension.php at line 171
May I know what is caused this error?
Thank you.
HTML:ErrorException: [E_WARNING] Cannot declare class Truonglv\Groups\XF\Entity\XFCP_Node, because the name is already in use in src/XF/Extension.php at line 171 XF::handlePhpError() class_alias() in src/XF/Extension.php at line 171 XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 55 XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 69 XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Mvc/Entity/Manager.php at line 225 XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35 XF\Mvc\Entity\Repository->finder() in src/XF/Repository/Node.php at line 28 XF\Repository\Node->getFullNodeList() in src/addons/Truonglv/Groups/XF/Repository/Node.php at line 38 Truonglv\Groups\XF\Repository\Node->getFullNodeList() in src/XF/Permission/NodePermissions.php at line 76 XF\Permission\NodePermissions->getContentTree() in src/XF/Permission/TreeContentPermissions.php at line 23 XF\Permission\TreeContentPermissions->setupBuildTypeData() in src/XF/Permission/NodePermissions.php at line 67 XF\Permission\NodePermissions->setupBuildTypeData() in src/XF/Permission/AbstractContentPermissions.php at line 48 XF\Permission\AbstractContentPermissions->setupBuildData() in src/XF/Permission/AbstractContentPermissions.php at line 21 XF\Permission\AbstractContentPermissions->__construct() in src/XF/Permission/Builder.php at line 116 XF\Permission\Builder->getContentHandler() in src/XF/Permission/Builder.php at line 85 XF\Permission\Builder->getContentHandlers() in src/XF/Permission/Builder.php at line 148 XF\Permission\Builder->rebuildCombinationContent() in src/XF/Permission/Builder.php at line 142 XF\Permission\Builder->rebuildCombination() in src/XF/Job/PermissionRebuild.php at line 58 XF\Job\PermissionRebuild->run() in src/XF/Job/Atomic.php at line 40 XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 260 XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202 XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118 XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122 XF\Admin\Controller\Tools->actionRunJob() 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 2351 XF\App->run() in src/XF.php at line 517 XF::runApp() in admin.php at line 13
Reputation:
I don't have this error. Everything seems fine with this update.
Reputation:
So can you help me to fix the error?
Reputation:
I'm also a paid user just like you. I don't know what happened on your case.
Reputation:
Which version of Xenforo is it running on?
It is the same error as you got after the upgrade from 3.1.4 to 3.1.6 right?
Check
SELECT *
FROM xf_class_extension
WHERE to_class like 'Truonglv%'
What is the result?
Did you also tried to rebuild the addon?
XF\Db\DuplicateKeyException: Batch install error: MySQL query error [1062]: Duplicate entry 'XFMG\Entity\Album-Truonglv\Groups\XFMG\Entity\Album' for key 'from_class' src/XF/Db/AbstractStatement.php:230
أنشأت بواسطة: ----- 2022-03-07 في 01:52
Stack trace
INSERT INTO `xf_class_extension` (`addon_id`, `from_class`, `to_class`, `execute_order`, `active`, `extension_id`) VALUES (?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1514): XF\Db\AbstractAdapter->insert('xf_class_extens...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/AddOn/DataType/ClassExtension.php(84): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Job/AddOnData.php(110): XF\AddOn\DataType\ClassExtension->importAddOnData('Truonglv/Groups', Object(SimpleXMLElement), 0, 7.99679)
#8 src/XF/Job/AddOnInstallBatch.php(341): XF\Job\AddOnData->run(7.99679)
#9 src/XF/Job/AddOnInstallBatch.php(95): XF\Job\AddOnInstallBatch->stepData(Object(XF\Timer))
#10 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
#11 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#13 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#14 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#17 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#19 src/XF.php(517): XF\App->run()
#20 admin.php(13): XF::runApp('XF\\Admin\\App')
#21 {main}
حالة الطلب
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(52) "https://----.com/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(89) "https://----.com/admin.php?add-ons/install-from-archive-complete&batch_id=107"
["_xfToken"] => string(8) "********"
["only_ids"] => string(5) "95882"
}
}
Reputation:
I delete the addon at all and re-install it again.
now I have this error
HTML:XF\Db\DuplicateKeyException: Batch install error: MySQL query error [1062]: Duplicate entry 'XFMG\Entity\Album-Truonglv\Groups\XFMG\Entity\Album' for key 'from_class' src/XF/Db/AbstractStatement.php:230 أنشأت بواسطة: ----- 2022-03-07 في 01:52 Stack trace INSERT INTO `xf_class_extension` (`addon_id`, `from_class`, `to_class`, `execute_order`, `active`, `extension_id`) VALUES (?, ?, ?, ?, ?, ?) ------------ #0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000') #1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000') #2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute() #3 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array) #4 src/XF/Mvc/Entity/Entity.php(1514): XF\Db\AbstractAdapter->insert('xf_class_extens...', Array, false) #5 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->_saveToSource() #6 src/XF/AddOn/DataType/ClassExtension.php(84): XF\Mvc\Entity\Entity->save(true, false) #7 src/XF/Job/AddOnData.php(110): XF\AddOn\DataType\ClassExtension->importAddOnData('Truonglv/Groups', Object(SimpleXMLElement), 0, 7.99679) #8 src/XF/Job/AddOnInstallBatch.php(341): XF\Job\AddOnData->run(7.99679) #9 src/XF/Job/AddOnInstallBatch.php(95): XF\Job\AddOnInstallBatch->stepData(Object(XF\Timer)) #10 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8) #11 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8) #12 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8) #13 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8) #14 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag)) #15 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL) #16 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL) #17 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #18 src/XF/App.php(2351): XF\Mvc\Dispatcher->run() #19 src/XF.php(517): XF\App->run() #20 admin.php(13): XF::runApp('XF\\Admin\\App') #21 {main} حالة الطلب array(4) { ["url"] => string(24) "/admin.php?tools/run-job" ["referrer"] => string(52) "https://----.com/admin.php?tools/run-job" ["_GET"] => array(1) { ["tools/run-job"] => string(0) "" } ["_POST"] => array(3) { ["_xfRedirect"] => string(89) "https://----.com/admin.php?add-ons/install-from-archive-complete&batch_id=107" ["_xfToken"] => string(8) "********" ["only_ids"] => string(5) "95882" } }
Reputation:
Can you list the addons you have installed?
Please list as well the result of the select statement of the current state. It sounds like that something went wrong during the uninstallation.
Reputation:
Can you list the addons you have installed?
Please list as well the result of the select statement of the current state. It sounds like that something went wrong during the uninstallation.
Reputation:
Notable changes:
- Fixed widget options not saved
- Fixed send alerts to banned users
- Fixed upload resource icon error
- Added group badge feature which allow group members can choose specific group display as badge.