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
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:
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.
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.
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.