• 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
    • ErrorException: [E_NOTICE] Undefined variable: content src/addons/vw/vw/XF/Entity/EntityBase.php:965

    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: ErrorException: [E_NOTICE] Undefined variable: content src/addons/vw/vw/XF/Entity/EntityBase.php:965

    • Issue Tools
      • View Changes
    1. issueid=5822 August 15, 2019 12:24 PM
      expanserpb expanserpb is offline
      Junior Member
      ErrorException: [E_NOTICE] Undefined variable: content src/addons/vw/vw/XF/Entity/EntityBase.php:965

      rrorException: [E_NOTICE] Undefined variable: content src/addons/vw/vw/XF/Entity/EntityBase.php:965
      Generated by: TheRoyalMagus Aug 15, 2019 at 4:57 PM
      Stack trace
      #0 src/addons/vw/vw/XF/Entity/EntityBase.php(965): XF::handlePhpError(8, '[E_NOTICE] Unde...', 's...', 965, Array)
      #1 src/addons/vw/vw/_core/controller/dm/revision/vw.php(1144): vw\vw\XF\Entity\EntityBase->check_spam(Array)
      #2 src/addons/vw/vw/XF/Entity/EntityBase.php(490): vw_DM_Revision_Controller->pre_save(true)
      #3 src/XF/Mvc/Entity/Entity.php(1297): vw\vw\XF\Entity\EntityBase->_preSave()
      #4 src/addons/vw/vw/XF/Entity/EntityBase.php(481): XF\Mvc\Entity\Entity->preSave()
      #5 src/addons/vw/vw/_core/controller/dm/xf2.php(329): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #6 src/addons/vw/vw/_core/controller/dm/page/vw.php(2586): vw_DM_Controller_XF2->pre_save(NULL)
      #7 src/addons/vw/vw/_core/controller/dm/page/vw.php(1028): vw_DM_Page_Controller->internal_pre_save(Object(vw_DM_Controller_XF2), NULL)
      #8 src/addons/vw/vw/_core/controller/dm/page/vw.php(787): vw_DM_Page_Controller->process_revision()
      #9 src/addons/vw/vw/XF/Entity/EntityBase.php(490): vw_DM_Page_Controller->pre_save(true)
      #10 src/XF/Mvc/Entity/Entity.php(1297): vw\vw\XF\Entity\EntityBase->_preSave()
      #11 src/addons/vw/vw/XF/Entity/EntityBase.php(481): XF\Mvc\Entity\Entity->preSave()
      #12 src/addons/vw/vw/_core/controller/dm/xf2.php(329): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #13 src/addons/vw/vw/_core/controller/ui/edit/page/vw.php(496): vw_DM_Controller_XF2->pre_save()
      #14 src/addons/vw/vw/_core/controller/ui/edit/page/xf0.php(21): vw_UI_Edit_Page_Controller->start_dm(Object(vw_UI_Page_Controller), Array, Array)
      #15 src/addons/vw/vw/_core/controller/ui/edit/vw.php(149): vw_UI_Edit_Page_Controller_XF0->start_dm(Object(vw_UI_Page_Controller), Array, Array)
      #16 src/addons/vw/vw/_core/controller/ui/page/vw.php(443): vw_UI_Edit_Controller->save(Array)
      #17 src/addons/vw/vw/_core/controller/ui/page/vw.php(170): vw_UI_Page_Controller->save()
      #18 src/addons/vw/vw/_core/controller/ui/stack/vw.php(293): vw_UI_Page_Controller->execute()
      #19 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #20 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #21 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controlle r\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #22 src/XF/Mvc/Dispatcher.php(321): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #23 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #24 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #25 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #26 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
      #27 src/XF.php(390): XF\App->run()
      #28 index.php(20): XF::runApp('XF\\Pub\\App')
      #29 {main}
      Request state
      array(4) {
      ["url"] => string(37) "/Folklore/Caspian-A-Draykhart?do=save"
      ["referrer"] => string(61) "https://chroniclesrp.net/Folklore/Caspian-A-Draykhart?do=edit"
      ["_GET"] => array(1) {
      ["do"] => string(4) "save"
      }
      ["_POST"] => array(22) {
      ["message_html"] => string(2124) "<p><a href="https://drive.google.com/file/d/1-PaCVZ48aZNnYc5f7L_9YOSQshMbFS5y/view?usp=drivesdk" rel="noopener noreferrer" target="_blank">Caspian</a></p><p><br></p><p>Name: Caspian Arthur Draykhart</p><p>Species: Human</p><p>Age: 23</p><p>Height: 5'10</p><p>Weight: 175</p><p>Hair: Chestnut Brown</p><p>Eyes: Lavender</p><p>Skin: Tanned</p><p>Occupation: Adventurer</p><p>Place of Birth: Alexandria</p><p>Affiliation: Noble House Draykhart, Towers of Stars and Stones</p><p>Home: Alexandria</p><p><br></p><p>Appearance:</p><p>Caspian has had the luxury afforded to those with money, so while he may not be the most handsome individual he can boast having all of his teeth and a rather clean appearance.</p><p><br></p><p>His hair has been allowed to grow from it's youthful clean cut appearence to something that's not kept at bay by putting in a ponytail.</p><p><br></p><p><br></p><p>Skills and Abilities</p><p>College Magic: Caspian comes from a long line of Wizards and he carries on that tradition. He is quiet proficient in harnessing arcane energies for a variety of effects, though he is limited to what he can cast bases on what he has prepared from his spellbook.</p><p><br></p><p>He specializes in abjurative based magic, preferring it's defensive capabilities.</p><p><br></p><p>Trust Fund: While not an ability, Caspians noble lineage has made it so that he hasn't had to worry about mundane things while in major cities, where his family crest is recognized.</p><p><br></p><p>Esoteric Knowledge: Years of studying have their advantage, Caspian knows a good deal about strange and esoteric topics.</p><p><br></p><p>Courtier: Life wasn't all magic and studying, Caspian knows how to navigate a court and is well spoken in his dealings, though when taken out of his element he can quickly stumble over his words.</p><p><br></p><p>Personality</p><p>He tries to be friendly, believing his position of privelage is one of responsibility. He can certainly come off as a little naive, trying to see the good in everyone.</p><p><br></p><p>Biography &amp; Lore</p><p>To come.</p><p><br></p><p>References</p><p>To come.</p>"
      ["query"] => string(0) ""
      ["reason"] => string(0) ""
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(20) "Caspian A. Draykhart"
      ["typelist"] => array(1) {
      [14] => string(1) "0"
      }
      ["icontype"] => string(0) ""
      ["fonticon"] => string(4) "f15b"
      ["fontstyle"] => string(1) "r"
      ["parseurl"] => string(1) "1"
      ["notifytype"] => string(2) "-1"
      ["do"] => string(4) "save"
      ["section"] => string(1) "0"
      ["posthash"] => string(32) "a2ce94026ccd5eebd062d89f1c550079"
      ["poststarttime"] => string(10) "1565883342"
      ["revparentid"] => string(4) "7210"
      ["loggedinuser"] => string(4) "1356"
      ["_xfToken"] => string(8) "********"
      ["sbutton"] => string(9) "undefined"
      ["_xfRequestUri"] => string(37) "/Folklore/Caspian-A-Draykhart?do=edit"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 5822
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 Beta 2
    Fixed Version 4.1.0 Beta 3
    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. August 15, 2019 12:33 PM
      ACL ACL is offline
      Regular Member
      This also occurs with the VaultWiki.org XF demo:
      ErrorException: [E_NOTICE] Undefined variable: content in /home/vw/edge/upload/src/addons/vw/vw/XF/Entity/EntityBase.php at line 960

      To reproduce, navigate to create a new page, then preview the page (no need to specify a page title).
      Reply Reply  
    2. August 15, 2019 12:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. In src/addons/vw/vw/XF/Entity/EntityBase.php, find:
      Code:
      foreach ($spaminfo AS $key => $text)
      BEFORE it, add:
      Code:
      $content = '';
      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 7:13 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.