• 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
    • New 4.1.0 RC1 Error

    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: New 4.1.0 RC1 Error

    • Issue Tools
      • View Changes
    1. issueid=5952 February 7, 2020 2:39 PM
      gerryvz gerryvz is offline
      New Member
      New 4.1.0 RC1 Error
      This seems to also be VW-related

      I have only received ONE of these errors, however:

      Another error received, just one time though. Appears to be VW related?:



      ErrorException: [E_WARNING] explode() expects parameter 2 to be string, array given src/XF/Mvc/Entity/ValueFormatter.php:42

      Generated by: Maxxximus Feb 6, 2020 at 3:37 PM

      Stack trace

      #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] exp...', '/var/www/html/5...', 42, Array)
      #1 src/XF/Mvc/Entity/ValueFormatter.php(42): explode(',', Array)
      #2 src/XF/Mvc/Entity/ValueFormatter.php(59): XF\Mvc\Entity\ValueFormatter->decodeValueFromSource(65554, Array)
      #3 src/XF/Mvc/Entity/Manager.php(764): XF\Mvc\Entity\ValueFormatter->decodeValueFromSourceExtended(65554, Array, Array)
      #4 src/XF/Mvc/Entity/Entity.php(225): XF\Mvc\Entity\Manager->decodeValueFromSourceExtended(65554, Array, Array)
      #5 src/XF/Mvc/Entity/Entity.php(171): XF\Mvc\Entity\Entity->getValue('secondary_group...')
      #6 src/XF/Mvc/Entity/Entity.php(509): XF\Mvc\Entity\Entity->get('secondary_group...')
      #7 src/addons/vw/vw/_core/controller/fetch/user/xf2.php(122): XF\Mvc\Entity\Entity->toArray()
      #8 src/addons/vw/vw/_core/controller/fetch/user/vw.php(30): vw_Fetch_User_Controller_XF2->process_row(Object(SV\ElasticSearchEssentials\XF\Entit y\ User))
      #9 src/addons/vw/vw/_core/controller/fetch/vw.php(541): vw_Fetch_User_Controller->query(Object(vw_Fetch_Controller), Array, false)
      #10 src/addons/vw/vw/_core/controller/fetch/vw.php(390): vw_Fetch_Controller->query(Array, Array, false)
      #11 src/addons/vw/vw/_core/view/ui/comment/vw.php(629): vw_Fetch_Controller->get('User', Array)
      #12 src/addons/vw/vw/_core/view/ui/discussion/vw.php(671): vw_UI_Comment_View->get_commentbits(Object(vw_UI_Discussion_View_XF2), Array)
      #13 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Discussion_View->index(Array)
      #14 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #15 src/addons/vw/vw/_core/view/ui/page/vw.php(288): vw_Reply_base_View->render('html')
      #16 src/addons/vw/vw/_core/view/ui/page/vw.php(114): vw_UI_Page_View->get_comments(Array)
      #17 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Page_View->view(Array)
      #18 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #19 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #20 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #21 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #22 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #23 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #24 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #25 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #26 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #27 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #28 src/XF.php(391): XF\App->run()
      #29 index.php(20): XF::runApp('XF\\Pub\\App')
      #30 {main}

      Request state

      array(4) {
      ["url"] => string(71) "/forums/wiki/?title=Factory-Printed-Publications-for-the-124-036-Models"
      ["referrer"] => string(58) "https://www.500eboard.co/forums/wiki/?title=500E-E500-Wiki"
      ["_GET"] => array(1) {
      ["title"] => string(51) "Factory-Printed-Publications-for-the-124-036-Models"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5952
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Discussions / Comments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 1
    Fixed Version 4.1.0 RC 1
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags Server Error




    1. February 7, 2020 2:57 PM
      pegasus pegasus is offline
      VaultWiki Team
      Nothing particularly special is being done by VaultWiki here. We are taking a \XF\Entity\User object and executing its stock ::toArray method, like:
      Code:
      $entity->toArray();
      This is a stock XenForo entity and method and if it's failing on a stock XenForo field (secondary_group_ids) then there may be an issue in XenForo or another add-on which is modifying the entity (such as SV\ElasticSearchEssentials).

      I previously noted a similar error which was caused by an add-on improperly extending XenForo's guest user and XenForo's improper generation of guest users (but we are not dealing with a guest user here): https://www.vaultwiki.org/issues/5586/
      Reply Reply  
    2. February 7, 2020 6:01 PM
      gerryvz gerryvz is offline
      New Member
      I got a few more of these errors:

      So you are saying that it is not VW related? I can disable the ElasticSearch Essentials and see if it comes back. Interesting that I never had it before installing the RC1 version of VW.



      ErrorException: [E_WARNING] explode() expects parameter 2 to be string, array given src/XF/Mvc/Entity/ValueFormatter.php:42

      Generated by: skikrazey Feb 7, 2020 at 5:33 PM

      Stack trace

      #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] exp...', '/var/www/html/5...', 42, Array)
      #1 src/XF/Mvc/Entity/ValueFormatter.php(42): explode(',', Array)
      #2 src/XF/Mvc/Entity/ValueFormatter.php(59): XF\Mvc\Entity\ValueFormatter->decodeValueFromSource(65554, Array)
      #3 src/XF/Mvc/Entity/Manager.php(764): XF\Mvc\Entity\ValueFormatter->decodeValueFromSourceExtended(65554, Array, Array)
      #4 src/XF/Mvc/Entity/Entity.php(225): XF\Mvc\Entity\Manager->decodeValueFromSourceExtended(65554, Array, Array)
      #5 src/XF/Mvc/Entity/Entity.php(171): XF\Mvc\Entity\Entity->getValue('secondary_group...')
      #6 src/XF/Mvc/Entity/Entity.php(509): XF\Mvc\Entity\Entity->get('secondary_group...')
      #7 src/addons/vw/vw/_core/controller/fetch/user/xf2.php(122): XF\Mvc\Entity\Entity->toArray()
      #8 src/addons/vw/vw/_core/controller/fetch/user/vw.php(30): vw_Fetch_User_Controller_XF2->process_row(Object(SV\ElasticSearchEssentials\XF\Entity\ User))
      #9 src/addons/vw/vw/_core/controller/fetch/vw.php(541): vw_Fetch_User_Controller->query(Object(vw_Fetch_Controller), Array, false)
      #10 src/addons/vw/vw/_core/controller/fetch/vw.php(390): vw_Fetch_Controller->query(Array, Array, false)
      #11 src/addons/vw/vw/_core/view/ui/comment/vw.php(629): vw_Fetch_Controller->get('User', Array)
      #12 src/addons/vw/vw/_core/view/ui/discussion/vw.php(671): vw_UI_Comment_View->get_commentbits(Object(vw_UI_Discussion_View_XF2), Array)
      #13 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Discussion_View->index(Array)
      #14 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #15 src/addons/vw/vw/_core/view/ui/page/vw.php(288): vw_Reply_base_View->render('html')
      #16 src/addons/vw/vw/_core/view/ui/page/vw.php(114): vw_UI_Page_View->get_comments(Array)
      #17 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Page_View->view(Array)
      #18 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #19 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #20 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #21 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #22 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #23 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #24 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #25 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #26 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #27 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #28 src/XF.php(391): XF\App->run()
      #29 index.php(20): XF::runApp('XF\\Pub\\App')
      #30 {main}

      Request state

      array(4) {
      ["url"] => string(45) "/forums/wiki/?title=500E-E500-Production-Data"
      ["referrer"] => string(58) "https://www.500eboard.co/forums/wiki/?title=500E-E500-Wiki"
      ["_GET"] => array(1) {
      ["title"] => string(25) "500E-E500-Production-Data"
      }
      ["_POST"] => array(0) {
      }
      }




      And a second example:



      ErrorException: [E_WARNING] explode() expects parameter 2 to be string, array given src/XF/Mvc/Entity/ValueFormatter.php:42

      Generated by: skikrazey Feb 7, 2020 at 5:33 PM

      Stack trace

      #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] exp...', '/var/www/html/5...', 42, Array)
      #1 src/XF/Mvc/Entity/ValueFormatter.php(42): explode(',', Array)
      #2 src/XF/Mvc/Entity/ValueFormatter.php(59): XF\Mvc\Entity\ValueFormatter->decodeValueFromSource(65554, Array)
      #3 src/XF/Mvc/Entity/Manager.php(764): XF\Mvc\Entity\ValueFormatter->decodeValueFromSourceExtended(65554, Array, Array)
      #4 src/XF/Mvc/Entity/Entity.php(225): XF\Mvc\Entity\Manager->decodeValueFromSourceExtended(65554, Array, Array)
      #5 src/XF/Mvc/Entity/Entity.php(171): XF\Mvc\Entity\Entity->getValue('secondary_group...')
      #6 src/XF/Mvc/Entity/Entity.php(509): XF\Mvc\Entity\Entity->get('secondary_group...')
      #7 src/addons/vw/vw/_core/controller/fetch/user/xf2.php(122): XF\Mvc\Entity\Entity->toArray()
      #8 src/addons/vw/vw/_core/controller/fetch/user/vw.php(30): vw_Fetch_User_Controller_XF2->process_row(Object(SV\ElasticSearchEssentials\XF\Entity\ User))
      #9 src/addons/vw/vw/_core/controller/fetch/vw.php(541): vw_Fetch_User_Controller->query(Object(vw_Fetch_Controller), Array, false)
      #10 src/addons/vw/vw/_core/controller/fetch/vw.php(390): vw_Fetch_Controller->query(Array, Array, false)
      #11 src/addons/vw/vw/_core/view/ui/comment/vw.php(629): vw_Fetch_Controller->get('User', Array)
      #12 src/addons/vw/vw/_core/view/ui/discussion/vw.php(671): vw_UI_Comment_View->get_commentbits(Object(vw_UI_Discussion_View_XF2), Array)
      #13 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Discussion_View->index(Array)
      #14 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #15 src/addons/vw/vw/_core/view/ui/page/vw.php(288): vw_Reply_base_View->render('html')
      #16 src/addons/vw/vw/_core/view/ui/page/vw.php(114): vw_UI_Page_View->get_comments(Array)
      #17 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Page_View->view(Array)
      #18 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #19 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #20 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #21 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #22 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #23 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #24 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #25 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #26 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #27 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #28 src/XF.php(391): XF\App->run()
      #29 index.php(20): XF::runApp('XF\\Pub\\App')
      #30 {main}

      Request state

      array(4) {
      ["url"] => string(45) "/forums/wiki/?title=500E-E500-Production-Data"
      ["referrer"] => string(58) "https://www.500eboard.co/forums/wiki/?title=500E-E500-Wiki"
      ["_GET"] => array(1) {
      ["title"] => string(25) "500E-E500-Production-Data"
      }
      ["_POST"] => array(0) {
      }
      }
      Reply Reply  
    3. February 9, 2020 9:24 AM
      gerryvz gerryvz is offline
      New Member
      I have continued to get serveral of these errors per day. These errors ONLY started after upgrading to 4.1.0 RC1.

      I had some correspondence with the Developer (Xon) of ElasticSearch Essentials. Here is his response, below:

      ------------------------------


      This is very unlikely it is one of my add-ons(ie elasticsearch essentials) and as while my add-on is in the stack path it is not actually doing anything with the secondary_group_ids field.


      This part of the stacktrace shows how it is VaultWiki trying to get the XF user and convert it into an array;
      Code:

      #5 src/XF/Mvc/Entity/Entity.php(171): XF\Mvc\Entity\Entity->getValue('secondary_group...')
      #6 src/XF/Mvc/Entity/Entity.php(509): XF\Mvc\Entity\Entity->get('secondary_group...')
      #7 src/addons/vw/vw/_core/controller/fetch/user/xf2.php(122): XF\Mvc\Entity\Entity->toArray()
      #8 src/addons/vw/vw/_core/controller/fetch/user/vw.php(30): vw_Fetch_User_Controller_XF2->process_row(Object(SV\ElasticSearchEssentials\XF\Entity\ User))

      This is likely that some temporary User entity was created via raw construction that is setting secondary_group_ids incorrectly.

      The only add-on I have which changes (or sets) secondary_group_ids is Signup Abuse Detection & Monitoring which correctly sets it via the entity and doesn't try setting up a raw User entity.

      My only recommendation is disable all other add-on besides VaultWiki and see if it still happens. If so; report to VaultWiki's developer.

      Otherwise enable add-ons till it happens again, which should tell you which add-on is doing it
      Reply Reply  
    4. February 9, 2020 3:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      There is a part of VaultWiki that behaves in a way that could cause this error, but I don't see how it could be called in this stack trace. It is also not new in RC 1.

      You might be able to confirm if it is. It would require that one of the comments in the discussion is posted by a user that you deleted or merged, but the comment was never updated with the new user ID. Since the user ID is bad, it can lead to a problem like this.

      In src/addons/vw/vw/_core/view/factory/comment/xf2.php, find:
      Code:
      			// guest user
      			$user = $this->comment;
      			unset($user['xfEntity']);
      Replace with:
      Code:
      			// guest user
      			$user = $this->comment;
      			$user['user_id'] = 0;
      			unset($user['xfEntity']);
      Reply Reply  
    5. February 9, 2020 5:47 PM
      gerryvz gerryvz is offline
      New Member
      Made the change and immediately received five of the same errors. I have disabled VaultWiki to see if any new errors appear within the next couple of days.
      Reply Reply  
    6. February 10, 2020 6:58 AM
      gerryvz gerryvz is offline
      New Member
      I also had this error (eight of them) happen after about 1 hour after I DISABLED VaultWiki, but otherwise no errors in the 12 hours since I disabled the VaultWiki.



      ErrorException: Template error: Function vw_fa_weight is unknown src/XF/Template/Templater.php:914

      Generated by: Unknown account Feb 9, 2020 at 6:45 PM

      Stack trace

      #0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function vw_fa_...', '/var/www/html/5...', 914, Array)
      #1 src/XF/Template/Templater.php(914): trigger_error('Function vw_fa_...', 512)
      #2 internal_data/code_cache/templates/l1/s1/public/vw_attach.less.php(100): XF\Template\Templater->func('vw_fa_weight', Array, true)
      #3 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
      #4 src/XF/CssRenderer.php(323): XF\Template\Templater->renderTemplate('vw_attach.less', Array, false)
      #5 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:vw_attac...', NULL)
      #6 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
      #7 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
      #8 css.php(30): XF\CssWriter->run(Array, 1, 1, 'd4cb6dc5a3ee49f...')
      #9 {main}

      Request state

      array(4) {
      ["url"] => string(574) "/forums/css.php?css=public%3Aandy_banner.less%2Cpublic%3Aandy_cla ssified_forums.less%2Cpublic%3Aattachments.less%2Cpublic% 3Amessage.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_c ontrols.less%2Cpublic%3Asnog_flags.less%2Cpublic%3Astruct ured_list.less%2Cpublic%3AsvESE_autocomplete.less%2Cpubli c%3AsvESE_macros_similar_contents.less%2Cpublic%3Avw_atta ch.less%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less %2Cpublic%3Avw_list.less%2Cpublic%3Avw_section.less%2Cpub lic%3Aextra.less%2Cpublic%3Avw_additional.less&s=1&l=1&d= 1579735398&k=d4cb6dc5a3ee49f1ac1def3465f2d5ece4e98361"
      ["referrer"] => string(103) "https://www.500eboard.co/forums/threads/fs-1993-500e-pearl-black-black-258kkm-eur20k-madrid-spain.9682/"
      ["_GET"] => array(5) {
      ["css"] => string(424) "public:andy_banner.less,public:andy_classified_forums.le ss,public:attachments.less,public:message.less,public:not ices.less,public:share_controls.less,public:snog_flags.le ss,public:structured_list.less,public:svESE_autocomplete. less,public:svESE_macros_similar_contents.less,public:vw_ attach.less,public:vw_base.less,public:vw_bbcode.less,pub lic:vw_list.less,public:vw_section.less,public:extra.less ,public:vw_additional.less"
      ["s"] => string(1) "1"
      ["l"] => string(1) "1"
      ["d"] => string(10) "1579735398"
      ["k"] => string(40) "d4cb6dc5a3ee49f1ac1def3465f2d5ece4e98361"
      }
      ["_POST"] => array(0) {
      }
      }




      AND THIS ONE




      ErrorException: Template error: Function vw_fa_code is unknown src/XF/Template/Templater.php:914

      Generated by: Unknown account Feb 9, 2020 at 6:45 PM

      Stack trace

      #0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function vw_fa_...', '/var/www/html/5...', 914, Array)
      #1 src/XF/Template/Templater.php(914): trigger_error('Function vw_fa_...', 512)
      #2 internal_data/code_cache/templates/l1/s1/public/vw_attach.less.php(84): XF\Template\Templater->func('vw_fa_code', Array, true)
      #3 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
      #4 src/XF/CssRenderer.php(323): XF\Template\Templater->renderTemplate('vw_attach.less', Array, false)
      #5 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:vw_attac...', NULL)
      #6 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
      #7 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
      #8 css.php(30): XF\CssWriter->run(Array, 1, 1, 'd4cb6dc5a3ee49f...')
      #9 {main}

      Request state

      array(4) {
      ["url"] => string(574) "/forums/css.php?css=public%3Aandy_banner.less%2Cpublic%3Aandy_cla ssified_forums.less%2Cpublic%3Aattachments.less%2Cpublic% 3Amessage.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_c ontrols.less%2Cpublic%3Asnog_flags.less%2Cpublic%3Astruct ured_list.less%2Cpublic%3AsvESE_autocomplete.less%2Cpubli c%3AsvESE_macros_similar_contents.less%2Cpublic%3Avw_atta ch.less%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less %2Cpublic%3Avw_list.less%2Cpublic%3Avw_section.less%2Cpub lic%3Aextra.less%2Cpublic%3Avw_additional.less&s=1&l=1&d= 1579735398&k=d4cb6dc5a3ee49f1ac1def3465f2d5ece4e98361"
      ["referrer"] => string(103) "https://www.500eboard.co/forums/threads/fs-1993-500e-pearl-black-black-258kkm-eur20k-madrid-spain.9682/"
      ["_GET"] => array(5) {
      ["css"] => string(424) "public:andy_banner.less,public:andy_classified_forums.le ss,public:attachments.less,public:message.less,public:not ices.less,public:share_controls.less,public:snog_flags.le ss,public:structured_list.less,public:svESE_autocomplete. less,public:svESE_macros_similar_contents.less,public:vw_ attach.less,public:vw_base.less,public:vw_bbcode.less,pub lic:vw_list.less,public:vw_section.less,public:extra.less ,public:vw_additional.less"
      ["s"] => string(1) "1"
      ["l"] => string(1) "1"
      ["d"] => string(10) "1579735398"
      ["k"] => string(40) "d4cb6dc5a3ee49f1ac1def3465f2d5ece4e98361"
      }
      ["_POST"] => array(0) {
      }
      }
      Reply Reply  
    7. February 10, 2020 11:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Those new errors are a design flaw in XenForo:

      XenForo will attempt to render requested CSS-templates that belong to an add-on, even though that add-on is disabled, as long as you enter the correct URL for those templates (probably known from local cache or XenForo's guest cache). Since the add-on is disabled, any templater functions that the add-on includes are not available to its own templates.

      I have finally been able to reproduce the original error that you've been worried about. It happens in the following situation, which is tough to do on a test board with only one account:
      1. The visitor (A) visits a wiki page where the Comments are shown under the page-content (not a separate tab).
      2. The page's list of contributors contains a different user (B) from the visitor.
      3. There is a comment written by that same non-visitor (user B).
      4. When fetching the data for all users who posted the comments on this page, this error occurs.

      I fixed this by editing src/addons/vw/vw/Helper/Entity/Entity.php and adding the following method to the class:
      Code:
      	public static function instantiateSafely($entityName, $data)
      	{
      		$structure = \XF::app()->em()->getEntityStructure($entityName);
      
      		foreach ($structure->columns AS $name => $column)
      		{
      			if (isset($data["$name"]) AND is_array($data["$name"]))
      			{
      				$data["$name"] = \XF::app()->em()->encodeValueForSource($column['type'], $data["$name"]);
      			}
      		}
      			
      		return \XF::app()->em()->instantiateEntity($entityName, $data);
      	}
      Then, in src/addons/vw/vw/_core/model/user/xf2.php, find (3x):
      Code:
      XF::app()->em()->instantiateEntity
      Replace (3x) with:
      Code:
      \vw\vw\Helper\Entity\Entity::instantiateSafely
      This issue will be fixed in the next build of RC 1.
      Reply Reply  
    8. February 10, 2020 12:40 PM
      gerryvz gerryvz is offline
      New Member
      I implemented the changes to the files. Will follow up with any anomalies occur. Thank you for your attention and resolutions!
      Reply Reply  
    9. February 10, 2020 4:09 PM
      gerryvz gerryvz is offline
      New Member
      No further errors yet today, since implementing the changes above.
      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 8:27 AM.
    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.