• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • [4.1.0 RC1 Build 3] Errors Upon New Category Creation

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: [4.1.0 RC1 Build 3] Errors Upon New Category Creation

    • Issue Tools
      • View Changes
    1. issueid=5970 February 26, 2020 9:48 AM
      gerryvz gerryvz is offline
      New Member
      [4.1.0 RC1 Build 3] Errors Upon New Category Creation
      The following errors were thrown during the creation of a new category

      Creating a simple new category threw the following errors:

      ERROR 1:



      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/controller/ui/edit/vw.php:486

      Generated by: gerryvz Feb 26, 2020 at 9:42 AM

      Stack trace

      #0 src/addons/vw/vw/_core/controller/ui/edit/vw.php(486): XF::handlePhpError()
      #1 src/addons/vw/vw/_core/controller/ui/edit/vw.php(291): vw_UI_Edit_Controller->save_redirect()
      #2 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
      #3 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
      #4 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
      #5 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
      #6 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #7 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #8 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #9 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(391): XF\App->run()
      #15 index.php(20): XF::runApp()
      #16 {main}

      Request state

      array(4) {
      ["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
      ["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
      ["_GET"] => array(2) {
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      }
      ["_POST"] => array(27) {
      ["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
      ["query"] => string(0) ""
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(29) "500E / E500 Electrical System"
      ["typelist"] => array(4) {
      [18] => string(1) "0"
      [19] => string(1) "1"
      [29] => string(1) "0"
      [32] => string(1) "0"
      }
      ["areaid"] => string(1) "2"
      ["itemlangid"] => string(1) "1"
      ["icontype"] => string(0) ""
      ["fonticon"] => string(4) "f15b"
      ["fontstyle"] => string(1) "r"
      ["parseurl"] => string(1) "1"
      ["untabbed"] => string(1) "0"
      ["autolink"] => string(2) "-2"
      ["notifytype"] => string(2) "-1"
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      ["indexid"] => string(1) "1"
      ["section"] => string(1) "0"
      ["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
      ["poststarttime"] => string(10) "1582728082"
      ["revparentid"] => string(0) ""
      ["loggedinuser"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["sbutton"] => string(9) "undefined"
      ["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }




      ERROR 2:



      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/controller/dm/route/vw.php:231

      Generated by: gerryvz Feb 26, 2020 at 9:42 AM

      Stack trace

      #0 src/addons/vw/vw/_core/controller/dm/route/vw.php(231): XF::handlePhpError()
      #1 src/addons/vw/vw/XF/Entity/EntityBase.php(490): vw_DM_Route_Controller->pre_save()
      #2 src/addons/vw/vw/_core/controller/dm/route/xf2.php(62): vw\vw\XF\Entity\EntityBase->_preSave()
      #3 src/XF/Mvc/Entity/Entity.php(1297): vw_DM_Route_Controller_XF2->_preSave()
      #4 src/addons/vw/vw/XF/Entity/EntityBase.php(481): XF\Mvc\Entity\Entity->preSave()
      #5 src/addons/vw/vw/XF/Entity/EntityBase.php(536): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #6 src/addons/vw/vw/_core/controller/dm/xf2.php(369): vw\vw\XF\Entity\EntityBase->vwSave()
      #7 src/addons/vw/vw/_core/controller/dm/base/routable/vw.php(520): vw_DM_Controller_XF2->save()
      #8 src/addons/vw/vw/_core/controller/dm/page/vw.php(1696): vw_DM_Base_Routable_Controller->save_path()
      #9 src/addons/vw/vw/XF/Entity/EntityBase.php(633): vw_DM_Page_Controller->post_save_each()
      #10 src/XF/Mvc/Entity/Entity.php(1208): vw\vw\XF\Entity\EntityBase->_postSave()
      #11 src/addons/vw/vw/XF/Entity/EntityBase.php(556): XF\Mvc\Entity\Entity->save()
      #12 src/addons/vw/vw/_core/controller/dm/xf2.php(369): vw\vw\XF\Entity\EntityBase->vwSave()
      #13 src/addons/vw/vw/_core/controller/ui/edit/vw.php(231): vw_DM_Controller_XF2->save()
      #14 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
      #15 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
      #16 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
      #17 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
      #18 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #19 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #20 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #21 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #22 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #23 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #24 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #25 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #26 src/XF.php(391): XF\App->run()
      #27 index.php(20): XF::runApp()
      #28 {main}

      Request state

      array(4) {
      ["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
      ["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
      ["_GET"] => array(2) {
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      }
      ["_POST"] => array(27) {
      ["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
      ["query"] => string(0) ""
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(29) "500E / E500 Electrical System"
      ["typelist"] => array(4) {
      [18] => string(1) "0"
      [19] => string(1) "1"
      [29] => string(1) "0"
      [32] => string(1) "0"
      }
      ["areaid"] => string(1) "2"
      ["itemlangid"] => string(1) "1"
      ["icontype"] => string(0) ""
      ["fonticon"] => string(4) "f15b"
      ["fontstyle"] => string(1) "r"
      ["parseurl"] => string(1) "1"
      ["untabbed"] => string(1) "0"
      ["autolink"] => string(2) "-2"
      ["notifytype"] => string(2) "-1"
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      ["indexid"] => string(1) "1"
      ["section"] => string(1) "0"
      ["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
      ["poststarttime"] => string(10) "1582728082"
      ["revparentid"] => string(0) ""
      ["loggedinuser"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["sbutton"] => string(9) "undefined"
      ["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }




      ERROR 3:



      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/view/factory/content/vw.php:336

      Generated by: gerryvz Feb 26, 2020 at 9:42 AM

      Stack trace

      #0 src/addons/vw/vw/_core/view/factory/content/vw.php(336): XF::handlePhpError()
      #1 src/addons/vw/vw/_core/controller/ui/edit/page/vw.php(247): vw_Factory_Content_View->get_placeholder_text()
      #2 src/addons/vw/vw/_core/controller/ui/edit/page/xf0.php(21): vw_UI_Edit_Page_Controller->start_dm()
      #3 src/addons/vw/vw/_core/controller/ui/edit/vw.php(158): vw_UI_Edit_Page_Controller_XF0->start_dm()
      #4 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
      #5 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
      #6 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
      #7 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
      #8 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #9 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #10 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #11 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #12 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #15 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #16 src/XF.php(391): XF\App->run()
      #17 index.php(20): XF::runApp()
      #18 {main}

      Request state

      array(4) {
      ["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
      ["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
      ["_GET"] => array(2) {
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      }
      ["_POST"] => array(27) {
      ["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
      ["query"] => string(0) ""
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(29) "500E / E500 Electrical System"
      ["typelist"] => array(4) {
      [18] => string(1) "0"
      [19] => string(1) "1"
      [29] => string(1) "0"
      [32] => string(1) "0"
      }
      ["areaid"] => string(1) "2"
      ["itemlangid"] => string(1) "1"
      ["icontype"] => string(0) ""
      ["fonticon"] => string(4) "f15b"
      ["fontstyle"] => string(1) "r"
      ["parseurl"] => string(1) "1"
      ["untabbed"] => string(1) "0"
      ["autolink"] => string(2) "-2"
      ["notifytype"] => string(2) "-1"
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(2) "19"
      ["indexid"] => string(1) "1"
      ["section"] => string(1) "0"
      ["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
      ["poststarttime"] => string(10) "1582728082"
      ["revparentid"] => string(0) ""
      ["loggedinuser"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["sbutton"] => string(9) "undefined"
      ["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }


      ERROR 4:

      This error was logged after I added a simple comment to an existing Wiki entry.



      ErrorException: [E_NOTICE] Undefined index: displayorder src/addons/vw/vw/_core/controller/ui/discussion/vw.php:1437

      Generated by: gerryvz Feb 26, 2020 at 9:40 AM

      Stack trace

      #0 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(1437): XF::handlePhpError()
      #1 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(323): vw_UI_Discussion_Controller->reply_permissions()
      #2 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(124): vw_UI_Discussion_Controller->postcomment()
      #3 src/addons/vw/vw/_core/controller/ui/discussion/xf0.php(61): vw_UI_Discussion_Controller->execute()
      #4 src/addons/vw/vw/_core/controller/ui/discussion/xf2.php(28): vw_UI_Discussion_Controller_XF0->execute()
      #5 src/addons/vw/vw/_core/controller/ui/page/vw.php(889): vw_UI_Discussion_Controller_XF2->execute()
      #6 src/addons/vw/vw/_core/controller/ui/page/vw.php(841): vw_UI_Page_Controller->do_comments()
      #7 src/addons/vw/vw/_core/controller/ui/page/vw.php(215): vw_UI_Page_Controller->comments()
      #8 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Page_Controller->execute()
      #9 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #10 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #11 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #12 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #13 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #16 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #17 src/XF.php(391): XF\App->run()
      #18 index.php(20): XF::runApp()
      #19 {main}

      Request state

      array(4) {
      ["url"] => string(68) "/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
      ["referrer"] => string(92) "https://www.500eboard.co/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
      ["_GET"] => array(1) {
      ["title"] => string(48) "500E-and-E500-CAN-Computer-Part-Number-Reference"
      }
      ["_POST"] => array(12) {
      ["quickreply_html"] => string(32) "<p>This is a sample comment.</p>"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["attachment_hash"] => string(32) "fb6c23538d2d83b3d1e9363f051ff5ac"
      ["attachment_hash_combined"] => string(130) "{"type":"vwcomment","context":{"contentid":286,"contentt ypeid":1,"areaid":5,"userid":1},"hash":"fb6c23538d2d83b3d 1e9363f051ff5ac"}"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1582728034"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(68) "/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 5970
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Categories
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 1
    Fixed Version 4.1.0 RC 1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 26, 2020 10:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/controller/dm/route/vw.php, find:
      Code:
      if ($primary['id'] != $root['id'] AND $primary['id'] != $this->instance->get('itemtypeid'))
      Replace with:
      Code:
      if ((!$root OR $primary['id'] != $root['id']) AND $primary['id'] != $this->instance->get('itemtypeid'))
      In src/addons/vw/vw/_core/controller/ui/discussion/vw.php, find (2x):
      Code:
      $this->comment['displayorder'] = 0;
      Replace with (2x):
      Code:
      $this->comment['displayorder'] = $this->item['displayorder'] = 0;
      In src/addons/vw/vw/_core/controller/ui/create/vw.php, find:
      Code:
      if ((!$defaultid AND $requires_area) OR !$this->can_create($item))
      BEFORE it, add:
      Code:
      $caller->orig = $item;
      Find:
      Code:
      if (!empty($this->parent_type['idfield']))
      BEFORE it, add:
      Code:
      $caller->orig = $item;
      In src/addons/vw/vw/_core/controller/ui/edit/vw.php, find:
      Code:
      $url = $return_node['url_jq'];
      Replace with:
      Code:
      $url = !empty($return_node) ? $return_node['url_jq'] : '';
      What really confuses me is why these did not trigger undefined index messages prior to PHP 7.4.
      Reply Reply  
    2. February 26, 2020 6:36 PM
      gerryvz gerryvz is offline
      New Member
      I got this error this evening. Looks like it is with one of the files that you provided updated code for, above.

      Did I input the code wrong?



      ParseError: syntax error, unexpected '$this' (T_VARIABLE) src/addons/vw/vw/_core/controller/ui/discussion/vw.php:320

      Generated by: pablo2696 Feb 26, 2020 at 5:54 PM

      Stack trace

      #0 [internal function]: vw_Hard_Core::autoload()
      #1 src/addons/vw/vw/_core/controller/ui/discussion/xf0.php(15): spl_autoload_call()
      #2 src/addons/vw/vw/_hard/core.php(284): include('/var/www/html/5...')
      #3 [internal function]: vw_Hard_Core::autoload()
      #4 src/addons/vw/vw/_core/controller/ui/discussion/xf2.php(15): spl_autoload_call()
      #5 src/addons/vw/vw/_hard/core.php(676): require_once('/var/www/html/5...')
      #6 src/addons/vw/vw/_hard/core.php(386): vw_Hard_Core::locate_class()
      #7 src/addons/vw/vw/_hard/core.php(778): vw_Hard_Core::fetch_object()
      #8 src/addons/vw/vw/_core/controller/ui/page/vw.php(866): vw_Hard_Core::controller()
      #9 src/addons/vw/vw/_core/controller/ui/page/vw.php(971): vw_UI_Page_Controller->do_comments()
      #10 src/addons/vw/vw/_core/controller/ui/stack/vw.php(421): vw_UI_Page_Controller->view()
      #11 src/addons/vw/vw/_core/controller/ui/stack/vw.php(319): vw_UI_Stack_Controller->view()
      #12 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #13 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #14 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #15 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #16 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #17 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #18 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #19 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #20 src/XF.php(391): XF\App->run()
      #21 index.php(20): XF::runApp()
      #22 {main}

      Request state

      array(4) {
      ["url"] => string(34) "/forums/wiki/?title=500E-E500-Wiki"
      ["referrer"] => bool(false)
      ["_GET"] => array(1) {
      ["title"] => string(14) "500E-E500-Wiki"
      }
      ["_POST"] => array(0) {
      }
      }
      Reply Reply  
    3. February 26, 2020 7:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please compare line 320 in src/addons/vw/vw/_core/controller/ui/discussion/vw.php with this code:
      Code:
      $this->comment['displayorder'] = $this->item['displayorder'] = 0;
      Reply Reply  
    4. February 27, 2020 6:33 AM
      gerryvz gerryvz is offline
      New Member
      Compared the code and all seems to be correct. Received a couple further errors tonight --



      ParseError: syntax error, unexpected '$this' (T_VARIABLE) src/addons/vw/vw/_core/controller/ui/discussion/vw.php:320

      Generated by: jax Feb 27, 2020 at 2:42 AM

      Stack trace

      #0 [internal function]: vw_Hard_Core::autoload()
      #1 src/addons/vw/vw/_core/controller/ui/discussion/xf0.php(15): spl_autoload_call()
      #2 src/addons/vw/vw/_hard/core.php(284): include('/var/www/html/5...')
      #3 [internal function]: vw_Hard_Core::autoload()
      #4 src/addons/vw/vw/_core/controller/ui/discussion/xf2.php(15): spl_autoload_call()
      #5 src/addons/vw/vw/_hard/core.php(676): require_once('/var/www/html/5...')
      #6 src/addons/vw/vw/_hard/core.php(386): vw_Hard_Core::locate_class()
      #7 src/addons/vw/vw/_hard/core.php(778): vw_Hard_Core::fetch_object()
      #8 src/addons/vw/vw/_core/controller/ui/page/vw.php(866): vw_Hard_Core::controller()
      #9 src/addons/vw/vw/_core/controller/ui/page/vw.php(971): vw_UI_Page_Controller->do_comments()
      #10 src/addons/vw/vw/_core/controller/ui/stack/vw.php(421): vw_UI_Page_Controller->view()
      #11 src/addons/vw/vw/_core/controller/ui/stack/vw.php(319): vw_UI_Stack_Controller->view()
      #12 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #13 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #14 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #15 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #16 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #17 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #18 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #19 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #20 src/XF.php(391): XF\App->run()
      #21 index.php(20): XF::runApp()
      #22 {main}

      Request state

      array(4) {
      ["url"] => string(39) "/forums/wiki/?title=EZL-Trim-Plug-Guide"
      ["referrer"] => string(69) "https://www.500eboard.co/forums/threads/ezl-trimming-plug-guide.1909/"
      ["_GET"] => array(1) {
      ["title"] => string(19) "EZL-Trim-Plug-Guide"
      }
      ["_POST"] => array(0) {
      }
      }
      Reply Reply  
    5. February 27, 2020 10:13 AM
      pegasus pegasus is offline
      VaultWiki Team
      That error would be caused by your line 320 not matching the code I posted. If you can't see a difference, please replace line 320 with that code anyway.
      Reply Reply  
    6. February 27, 2020 11:03 AM
      gerryvz gerryvz is offline
      New Member
      I'll double-check again and also do a replacement.
      Reply Reply  
    7. February 27, 2020 11:52 AM
      gerryvz gerryvz is offline
      New Member
      Here is the code I just copied from the file:

      $this->comment['displayorder'] = $this->item['displayorder'] = 0;

      I put them one above the other (yours and mine) and they are identical.

      Here is (your pasted) code as it currently sits:

      https://www.dropbox.com/s/pfhb9ojyrg...%20AM.jpg?dl=0

      Reply Reply  
    8. February 27, 2020 12:24 PM
      pegasus pegasus is offline
      VaultWiki Team
      That screenshot is line 219, not 320. As mentioned in the instructions, there are 2 locations. Your 219 looks correct, but the error is saying the problem is at 320.
      Reply Reply  
    9. February 27, 2020 12:50 PM
      gerryvz gerryvz is offline
      New Member
      Looks like I was missing an "=" sign in the middle of the argument on Line 320. Have updated and will follow up with a final resolution.
      Reply Reply  
    10. February 27, 2020 6:11 PM
      gerryvz gerryvz is offline
      New Member
      Reporting back: all seems to be good.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:13 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.