Repeated errors with 3.1.1

naia

New Member
  • InvalidArgumentException: Accessed unknown getter 'title' on Truonglv\Groups:Group[43]
  • src/XF/Mvc/Entity/Entity.php:203
 

Truonglv

♥♥ √εgετα ♥♥
Staff member
Tech Support
This bug has been fixed in latest update. Please upgrade your addon to latest version.
 
I get several

Oops! We ran into some problems.
XF\Db\Exception: MySQL query error [1364]: Field 'post_rule' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 218
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1510
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1242
  7. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1260
  8. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
  9. XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
  10. XF\Mvc\FormAction->run() in src/addons/Truonglv/Groups/Pub/Controller/Forum.php at line 67
  11. Truonglv\Groups\Pub\Controller\Forum->actionAdd() in src/XF/Mvc/Dispatcher.php at line 350
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2344
  16. XF\App->run() in src/XF.php at line 512
  17. XF::runApp() in index.php at line 20


The next one


  • InvalidArgumentException: Accessed unknown getter 'xtr_node_icon_type' on XF:Node[60]
  • src/XF/Mvc/Entity/Entity.php:203

  • Generated by: Unknown account
  • Sep 12, 2021 at 12:46 PM

Stack trace​


#0 src/XF/Mvc/Entity/Entity.php(115): XF\Mvc\Entity\Entity->get('xtr_node_icon_t...')
#1 internal_data/code_cache/templates/l1/s107/public/xentr_multi_node.php(44): XF\Mvc\Entity\Entity->offsetGet('xtr_node_icon_t...')
#2 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#3 src/XF/Template/Templater.php(1673): XF\Template\Templater->renderTemplate('xentr_multi_nod...', Array)
#4 internal_data/code_cache/templates/l1/s107/public/node_list_forum.php(307): XF\Template\Templater->includeTemplate('public:xentr_mu...', Array)
#5 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l1/s107/public/node_list_forum.php(19): XF\Template\Templater->callMacro('node_list_forum', 'forum', Array, Array)
#7 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l1/s107/public/forum_list.php(25): XF\Template\Templater->callMacro('node_list_forum', 'depth1', Array, Array)
#9 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#10 internal_data/code_cache/templates/l1/s107/public/forum_list.php(60): XF\Template\Templater->callMacro('forum_list', 'node_list_entry', Array, Array)
#11 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#12 internal_data/code_cache/templates/l1/s107/public/forum_list.php(239): XF\Template\Templater->callMacro('forum_list', 'node_list', Array, Array)
#13 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#17 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#21 src/XF.php(512): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Request state​


array(4) {
["url"] => string(1) "/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

and the next one



  • XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'ap_group_style' in 'field list'
  • src/XF/Db/AbstractStatement.php:228

  • Generated by: Jay
  • Sep 12, 2021 at 12:33 PM

Stack trace​


INSERT INTO xf_tl_group (category_id, privacy, description, name, short_description, always_moderate_join, allow_guest_posting, owner_user_id, owner_username, member_count, group_state, language_code, last_activity, group_id, created_date, avatar_attachment_id, cover_attachment_id, tags, event_count, discussion_count, view_count, node_count, member_cache, custom_fields, member_moderated_count, album_count, cover_crop_data, ap_group_style) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1510): XF\Db\AbstractAdapter->insert('xf_tl_group', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/addons/Truonglv/Groups/Service/Group/Creator.php(140): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Service/ValidateAndSavableTrait.php(40): Truonglv\Groups\Service\Group\Creator->_save()
#9 src/addons/Truonglv/Groups/Pub/Controller/Category.php(112): Truonglv\Groups\Service\Group\Creator->save()
#10 src/XF/Mvc/Dispatcher.php(350): Truonglv\Groups\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Add', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Category), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Category), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}







Request state​




array(4) {
["url"] => string(42) "/group-categories/xxxxxx-lounges.1/add"
["referrer"] => string(64) "https://xxxxxx.com/group-categories/xxxxxx-lounges.1/add"
["_GET"] => array(0) {
}
["_POST"] => array(10) {
["name"] => string(24) "xxxxxx social lounge"
["short_description"] => string(4) "test"
["description_html"] => string(12) "<p>ccccc</p>"
["privacy"] => string(6) "public"
["tags"] => string(0) ""
["category_id"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(42) "/group-categories/xxxxxx-lounges.1/add"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 

Truonglv

♥♥ √εgετα ♥♥
Staff member
Tech Support
I get several

Oops! We ran into some problems.
XF\Db\Exception: MySQL query error [1364]: Field 'post_rule' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 218
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1510
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1242
  7. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1260
  8. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
  9. XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
  10. XF\Mvc\FormAction->run() in src/addons/Truonglv/Groups/Pub/Controller/Forum.php at line 67
  11. Truonglv\Groups\Pub\Controller\Forum->actionAdd() in src/XF/Mvc/Dispatcher.php at line 350
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2344
  16. XF\App->run() in src/XF.php at line 512
  17. XF::runApp() in index.php at line 20


The next one


  • InvalidArgumentException: Accessed unknown getter 'xtr_node_icon_type' on XF:Node[60]
  • src/XF/Mvc/Entity/Entity.php:203

  • Generated by: Unknown account
  • Sep 12, 2021 at 12:46 PM

Stack trace​


#0 src/XF/Mvc/Entity/Entity.php(115): XF\Mvc\Entity\Entity->get('xtr_node_icon_t...')
#1 internal_data/code_cache/templates/l1/s107/public/xentr_multi_node.php(44): XF\Mvc\Entity\Entity->offsetGet('xtr_node_icon_t...')
#2 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#3 src/XF/Template/Templater.php(1673): XF\Template\Templater->renderTemplate('xentr_multi_nod...', Array)
#4 internal_data/code_cache/templates/l1/s107/public/node_list_forum.php(307): XF\Template\Templater->includeTemplate('public:xentr_mu...', Array)
#5 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l1/s107/public/node_list_forum.php(19): XF\Template\Templater->callMacro('node_list_forum', 'forum', Array, Array)
#7 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l1/s107/public/forum_list.php(25): XF\Template\Templater->callMacro('node_list_forum', 'depth1', Array, Array)
#9 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#10 internal_data/code_cache/templates/l1/s107/public/forum_list.php(60): XF\Template\Templater->callMacro('forum_list', 'node_list_entry', Array, Array)
#11 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#12 internal_data/code_cache/templates/l1/s107/public/forum_list.php(239): XF\Template\Templater->callMacro('forum_list', 'node_list', Array, Array)
#13 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#17 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#21 src/XF.php(512): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Request state​


array(4) {
["url"] => string(1) "/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

and the next one



  • XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'ap_group_style' in 'field list'
  • src/XF/Db/AbstractStatement.php:228

  • Generated by: Jay
  • Sep 12, 2021 at 12:33 PM

Stack trace​


INSERT INTO xf_tl_group (category_id, privacy, description, name, short_description, always_moderate_join, allow_guest_posting, owner_user_id, owner_username, member_count, group_state, language_code, last_activity, group_id, created_date, avatar_attachment_id, cover_attachment_id, tags, event_count, discussion_count, view_count, node_count, member_cache, custom_fields, member_moderated_count, album_count, cover_crop_data, ap_group_style) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1510): XF\Db\AbstractAdapter->insert('xf_tl_group', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/addons/Truonglv/Groups/Service/Group/Creator.php(140): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Service/ValidateAndSavableTrait.php(40): Truonglv\Groups\Service\Group\Creator->_save()
#9 src/addons/Truonglv/Groups/Pub/Controller/Category.php(112): Truonglv\Groups\Service\Group\Creator->save()
#10 src/XF/Mvc/Dispatcher.php(350): Truonglv\Groups\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Add', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Category), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Category), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}







Request state​




array(4) {
["url"] => string(42) "/group-categories/xxxxxx-lounges.1/add"
["referrer"] => string(64) "https://xxxxxx.com/group-categories/xxxxxx-lounges.1/add"
["_GET"] => array(0) {
}
["_POST"] => array(10) {
["name"] => string(24) "xxxxxx social lounge"
["short_description"] => string(4) "test"
["description_html"] => string(12) "<p>ccccc</p>"
["privacy"] => string(6) "public"
["tags"] => string(0) ""
["category_id"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(42) "/group-categories/xxxxxx-lounges.1/add"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Noblemanall these columns does not belong to this addon. You need report to correct add-on developer.
 
Top