• 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
    • Wiki Notes

    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: Wiki Notes

    • Issue Tools
      • View Changes
    1. issueid=4606 March 26, 2016 5:04 AM
      thomaswillner thomaswillner is offline
      New Member
      Wiki Notes
      Wiki Notes Bug

      This happens when you click on Notes on any menu where the Link appears:

      THIS SHOWS IN THE BROWSER:
      Code:
      An exception occurred: Object of class XenForo_Visitor could not be converted to string in /home/thomaswi/sharepointforum.org/vault/core/model/user/vw.php on line 61
      
      XenForo_Application::handlePhpError() in /home/thomaswi/sharepointforum.org/vault/core/model/user/vw.php at line 61
      vw_User_Model->validate() in /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/user/xf.php at line 75
      vw_UI_Integrate_User_Controller_XF->get_stack() in /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php at line 242
      vw_UI_Integrate_Controller->get_stack() in /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php at line 66
      vw_UI_Integrate_Controller->setup() in /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php at line 42
      vw_UI_Integrate_Controller->integrate() in vw/XenForo/CodeEventListener/Public.php at line 234
      vw_XenForo_CodeEventListener_Public::front_controller_post_view()
      call_user_func_array() in XenForo/CodeEvent.php at line 90
      XenForo_CodeEvent::fire() in XenForo/FrontController.php at line 183
      XenForo_FrontController->run() in /home/thomaswi/sharepointforum.org/index.php at line 13
      THIS SHOWS IN THE SERVER ERROR LOG:
      Code:
      #0 /home/thomaswi/sharepointforum.org/vault/core/model/user/vw.php(61): XenForo_Application::handlePhpError(4096, 'Object of class...', '/home/thomaswi/...', 61, Array)
      #1 /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/user/xf.php(75): vw_User_Model->validate(Object(XenForo_Visitor))
      #2 /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php(242): vw_UI_Integrate_User_Controller_XF->get_stack(false)
      #3 /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php(66): vw_UI_Integrate_Controller->get_stack(false)
      #4 /home/thomaswi/sharepointforum.org/vault/core/controller/ui/integrate/vw.php(42): vw_UI_Integrate_Controller->setup()
      #5 /home/thomaswi/sharepointforum.org/library/vw/XenForo/CodeEventListener/Public.php(234): vw_UI_Integrate_Controller->integrate('<!DOCTYPE html>...')
      #6 [internal function]: vw_XenForo_CodeEventListener_Public::front_controller_post_view(Object(XenForo_FrontController), '<!DOCTYPE html>...')
      #7 /home/thomaswi/sharepointforum.org/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
      #8 /home/thomaswi/sharepointforum.org/library/XenForo/FrontController.php(183): XenForo_CodeEvent::fire('front_controlle...', Array)
      #9 /home/thomaswi/sharepointforum.org/index.php(13): XenForo_FrontController->run()
      #10 {main}
      Request State
      array(3) {
        ["url"] => string(43) "http://sharepointforum.org/members/br-notes"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
    Issue Details
    Issue Number 4606
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category User Profiles
    Status Not a Bug
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.9
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags code, error, links, log, security issue, Server Errors




    1. March 26, 2016 10:36 AM
      pegasus pegasus is offline
      VaultWiki Team
      I don't know what add-on "br-notes" is related to, but by reading the trace for the error, it looks like the ControllerPublic for the "br-notes" add-on is setting $viewParams['user'] as an object. By default, XenForo fills $viewParams['user'] from XenForo_ControllerPublic_Member with an array only. This difference in design could be causing the conflict you see. Again, without knowing the add-on, I cannot be more helpful. Perhaps if it is an add-on you wrote, you will be able to adjust it so that $viewParams['user'] is in the standard format.

      If you cannot update the br-notes add-on, then you have a few options:
      • Disable Wiki Content Integrations in User Profiles: AdminCP > Home > Options > VaultWiki: Miscellaneous > Wiki Content Integration Locations, uncheck "User Profiles".
      • Create your own add-on that disables the wiki content integration while viewing the br-notes action.
      • Use a file edit to disable the wiki content integration while viewing the br-notes action. In library/vw/XenForo/CodeEventListener/Public.php, find:
        Code:
        $actionName = strtolower(self::$_route->getAction());
        After it, add:
        Code:
        if ($actionName == 'br-notes') return false;
        You would have to make a file edit every time you update VaultWiki.


      You should first see if the author of the br-notes add-on is able to make the change to $viewParams I suggested. If they cannot, please let us know so we can permanently disable content integration with that add-on.
      Reply Reply
    2. April 5, 2016 12:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      Were you able to get this resolved in the br-notes add-on? If that add-on is no longer maintained we will have to add an exception to VaultWiki, so please let me know.
      Reply Reply
    3. April 29, 2016 4:18 PM
      pegasus pegasus is offline
      VaultWiki Team
      Since we have not heard back, we assume you were able to get the issue resolved through the vendor of the br-notes add-on. This report is now closed.
      Reply Reply
    4. April 29, 2016 6:07 PM
      thomaswillner thomaswillner is offline
      New Member
      Problem still persists
      Reply Reply
    5. April 29, 2016 6:08 PM
      thomaswillner thomaswillner is offline
      New Member
      the plugin is called "Xen Notices" - it is the Paid Version
      Reply Reply
    6. April 29, 2016 11:33 PM
      pegasus pegasus is offline
      VaultWiki Team
      So the vendor was not willing to resolve the issue?
      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 10:39 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.