Error with the addon

This is error that I get it when I activate the addon:

HTML:
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] Can...', '/home/****...', 171, Array)
#1 src/XF/Extension.php(171): class_alias('Truonglv\\Groups...', 'Truonglv\\Groups...')
#2 src/XF/Mvc/Entity/Manager.php(55): XF\Extension->extendClass('XF\\Entity\\Node')
#3 src/XF/Mvc/Entity/Manager.php(69): XF\Mvc\Entity\Manager->getEntityClassName('XF:Node')
#4 src/XF/Mvc/Entity/Finder.php(769): XF\Mvc\Entity\Manager->getEntityStructure('XF:Node')
#5 src/XF/Mvc/Entity/Finder.php(939): XF\Mvc\Entity\Finder->join('Thread.Forum.No...', true)
#6 src/XF/Mvc/Entity/Finder.php(939): XF\Mvc\Entity\Finder->join('Thread.Forum', true)
#7 src/XF/Mvc/Entity/Finder.php(654): XF\Mvc\Entity\Finder->join('Thread', true, false, false)
#8 src/XF/Mvc/Entity/Manager.php(149): XF\Mvc\Entity\Finder->with(Array)
#9 src/XF/Pub/Controller/Thread.php(312): XF\Mvc\Entity\Manager->find('XF:Post', 2548, Array)
#10 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Thread), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Thread), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
 
This is error that I get it when I activate the addon:

HTML:
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] Can...', '/home/****...', 171, Array)
#1 src/XF/Extension.php(171): class_alias('Truonglv\\Groups...', 'Truonglv\\Groups...')
#2 src/XF/Mvc/Entity/Manager.php(55): XF\Extension->extendClass('XF\\Entity\\Node')
#3 src/XF/Mvc/Entity/Manager.php(69): XF\Mvc\Entity\Manager->getEntityClassName('XF:Node')
#4 src/XF/Mvc/Entity/Finder.php(769): XF\Mvc\Entity\Manager->getEntityStructure('XF:Node')
#5 src/XF/Mvc/Entity/Finder.php(939): XF\Mvc\Entity\Finder->join('Thread.Forum.No...', true)
#6 src/XF/Mvc/Entity/Finder.php(939): XF\Mvc\Entity\Finder->join('Thread.Forum', true)
#7 src/XF/Mvc/Entity/Finder.php(654): XF\Mvc\Entity\Finder->join('Thread', true, false, false)
#8 src/XF/Mvc/Entity/Manager.php(149): XF\Mvc\Entity\Finder->with(Array)
#9 src/XF/Pub/Controller/Thread.php(312): XF\Mvc\Entity\Manager->find('XF:Post', 2548, Array)
#10 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Thread), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Thread), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
saeedmo79It's weird. Can you try to rebuild add-on?
 
View previous replies…
I delete it at all and re-install it again,
I got this error:

  • 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
 
I noticed a small bug. I uploaded a cover photo to one of my groups. It wasn't positioned how I wanted, so I used the reposition option, but it didn't save. Now if try to reposition again, and don't move it, and just hit save with however it is positioned, it seems to work. I've reproduced it several times on XF 2.2.8 Patch 1 and Groups 3.2.1. The behavior is a bit erratic and sometimes appears to work, but most often doesn't.

I've attached a small video to demonstrate. I didn't get any server errors. Very strange!

 
Another issue when attempting to add a forum to my group:

Code:
XF\Db\Exception: MySQL query error [1048]: Column 'cv6_icon' cannot be null in src/XF/Db/AbstractStatement.php at line 230
[LIST=1]
[*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
[*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 79
[*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
[*]XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 220
[*]XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1514
[*]XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1246
[*]XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 71
[*]XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 189
[*]XF\Mvc\FormAction->run() in src/addons/Truonglv/Groups/Pub/Controller/Forum.php at line 67
[*]Truonglv\Groups\Pub\Controller\Forum->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 2351
[*]XF\App->run() in src/XF.php at line 517
[*]XF::runApp() in index.php at line 20
[/LIST]
:(
 
And:

Code:
[LIST]
[*]XF\Db\Exception: MySQL query error [1048]: Column 'cv6_icon' cannot be null
[*]src/XF/Db/AbstractStatement.php:230
[*]Generated by: zoldos
[*]Mar 16, 2022 at 6:20 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
INSERT  INTO `xf_node` (`node_type_id`, `title`, `description`, `parent_node_id`, `display_order`, `node_id`, `node_name`, `style_id`, `effective_style_id`, `display_in_list`, `breadcrumb_data`, `navigation_id`, `effective_navigation_id`, `cv6_icon`, `cv6_icon_type`, `cv6_image_path`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1048, '23000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1048, '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_node', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/FormAction.php(71): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Mvc/FormAction.php(189): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#8 src/addons/Truonglv/Groups/Pub/Controller/Forum.php(67): XF\Mvc\FormAction->run()
#9 src/XF/Mvc/Dispatcher.php(352): Truonglv\Groups\Pub\Controller\Forum->actionAdd(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Add', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Forum), NULL)
#11 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#14 src/XF.php(517): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
[HEADING=2]Request state[/HEADING]
array(4) {
  ["url"] => string(28) "/group-forums/add?group_id=1"
  ["referrer"] => string(55) "https://zoldos.net/groups/kitties-pooches.1/discussions"
  ["_GET"] => array(1) {
    ["group_id"] => string(1) "1"
  }
  ["_POST"] => array(10) {
    ["_xfToken"] => string(8) "********"
    ["node"] => array(3) {
      ["title"] => string(7) "Kitties"
      ["description"] => string(15) "All about cats!"
      ["parent_node_id"] => string(1) "0"
    }
    ["min_tags"] => string(1) "0"
    ["allowed_watch_notifications"] => string(3) "all"
    ["default_sort_order"] => string(14) "last_post_date"
    ["default_sort_direction"] => string(4) "desc"
    ["list_date_limit_days"] => string(1) "0"
    ["_xfRequestUri"] => string(37) "/groups/kitties-pooches.1/discussions"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
zoldos It related to add-on which handle the column cv6_icon. You may report to correctly developer.
 
zoldos It related to add-on which handle the column cv6_icon. You may report to correctly developer.
TruonglvAh yes I see. Okay thanks for your time! :) What about my other issue with the repositioning of covers? :D
 
Back
Top