• 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
    • Error: Call to a member function presave_called() on null

    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: Error: Call to a member function presave_called() on null

    • Issue Tools
      • View Changes
    1. issueid=6068 June 20, 2020 5:37 AM
      hollosch hollosch is offline
      Senior Member
      Error: Call to a member function presave_called() on null

      Error: Call to a member function presave_called() on null src/addons/vw/vw/_core/controller/dm/batch/vw.php:73
      Generiert von: hollosch 20. Juni 2020 um 11:33
      Stack-Trace
      #0 src/addons/vw/vw/_core/controller/dm/page/vw.php(1374): vw_DM_Batch_Controller->pre_save()
      #1 src/addons/vw/vw/_core/controller/dm/page/vw.php(922): vw_DM_Page_Controller->process_links()
      #2 src/addons/vw/vw/_core/controller/dm/page/vw.php(811): vw_DM_Page_Controller->process_revision()
      #3 src/addons/vw/vw/XF/Entity/EntityBase.php(490): vw_DM_Page_Controller->pre_save()
      #4 src/XF/Mvc/Entity/Entity.php(1308): vw\vw\XF\Entity\EntityBase->_preSave()
      #5 src/addons/vw/vw/XF/Entity/EntityBase.php(481): XF\Mvc\Entity\Entity->preSave()
      #6 src/addons/vw/vw/_core/controller/dm/xf2.php(348): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #7 src/addons/vw/vw/_core/controller/ui/edit/page/vw.php(584): vw_DM_Controller_XF2->pre_save()
      #8 src/addons/vw/vw/_core/controller/ui/edit/page/xf0.php(21): vw_UI_Edit_Page_Controller->start_dm()
      #9 src/addons/vw/vw/_core/controller/ui/edit/vw.php(159): vw_UI_Edit_Page_Controller_XF0->start_dm()
      #10 src/addons/vw/vw/_core/controller/ui/create/vw.php(445): vw_UI_Edit_Controller->save()
      #11 src/addons/vw/vw/_core/controller/ui/area/vw.php(145): vw_UI_Create_Controller->publish()
      #12 src/addons/vw/vw/_core/controller/ui/area/vw.php(47): vw_UI_Area_Controller->publish()
      #13 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Area_Controller->execute()
      #14 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #15 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #16 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #17 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #18 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #19 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #20 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #21 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
      #22 src/XF.php(391): XF\App->run()
      #23 index.php(20): XF::runApp()
      #24 {main}
      Status der Anfrage
      array(4) {
      ["url"] => string(60) "/wiki/Stadtwiki_Geislingen?do=publish&itemtypeid=1&preview=1"
      ["referrer"] => string(95) "https://regio-portal.wiki/wiki/Stadtwiki_Geislingen?do=create&itemtypeid=1&etid=1&ecid=0 &eaid=4"
      ["_GET"] => array(3) {
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(1) "1"
      ["preview"] => string(1) "1"
      }
      ["_POST"] => array(25) {
      ["message_html"] => string(2344) "<div data-xf-p="1">Image Datei:JGR Header</div><div data-xf-p="1">Den <strong>Jugendgemeinderat Geislingen</strong> gibt es seit 1994. Er besteht aus 24 Mitgliedern. Kandidieren können Kinder und Jugendliche zwischen 11 und 18 Jahren, die eine Geislinger Schule besuchen. Wahlberechtigt sind alle Geislinger Schüler. Der Jugendgemeinderat wird auf drei Jahre gewählt.</div><div data-xf-p="1">Vorsitzender des Jugendgemeinderats Geislingen ist der Oberbürgermeister der Stadt Geislingen.</div><div data-xf-p="1"><br></div><div data-xf-p="1">

      Jugendgemeinderäte in Baden-Württemberg

      </div><div data-xf-p="1">Jugendgemeinderäte sind die Interessenvertretung der Jugendlichen gegenüber der kommunalen Politik. Sie sind darüber hinaus ein Partizipationsmodell und bieten jungen Menschen einen Einstieg in die Politik - ohne Parteibindung. Im Idealfall besitzen sie Rede- und Antragsrecht im Gemeinderat und einen eigenen Etat für Öffentlichkeitsarbeit, Veranstaltungen und sonstige Projekte.&nbsp;</div><div data-xf-p="1"><br></div><div data-xf-p="1">Ein großes Anliegen der rund 1500 Jugendgemeinderatsmitglieder im Ländle ist es, ihre Stadt für Jugendliche attraktiver zu gestalten. Hierzu gehören beispielsweise die Gestaltung und Einrichtung von Spiel- und Sportplätzen, Rad- und Verkehrswegeplanung, die Umgestaltung von Schulhöfen, Skateanlagen, der Öffentliche PersonenNahVerkehr, insbesondere Nachtbusse und Tarife, die Gestaltung und Erhaltung von Jugendhäusern, politische und unpolitische Veranstaltungen, Umweltaktionen, Bandcontests und vieles mehr. Der Vorsitzende ist ein Mitglied des JGRs oder der (Ober-)Bürgermeister der Stadt. Neben den öffentlichen Sitzungen gibt es nichtöffentliche Sitzungen und Arbeitskreistreffen.&nbsp;</div><div data-xf-p="1"><br></div><div data-xf-p="1">Außerdem nehmen die Jugendgemeinderäte an den Sitzungen des Gemeinderats oder seiner Ausschüsse teil – im Idealfall als vollwertiges Mitglied. Die Anzahl der Mitglieder ist von der Größe der Stadt abhängig. In fast allen Städten haben Jugendliche von 14 bis 18 das aktive und passive Wahlrecht, unabhängig davon, ob sie einen deutschen Pass haben oder nicht.</div><div data-xf-p="1"><br></div><div data-xf-p="1">

      Homepage

      </div><div data-xf-p="1">https://www.jgr-geislingen.de</div>"
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(52) "Jugendgemeinderat der Stadt Geislingen an der Steige"
      ["summary"] => string(0) ""
      ["query"] => string(0) ""
      ["icontype"] => string(0) ""
      ["fonticon"] => string(4) "f15b"
      ["fontstyle"] => string(1) "r"
      ["untabbed"] => string(1) "0"
      ["autolink"] => string(2) "-2"
      ["htmlstate"] => string(8) "on_nl2br"
      ["notifytype"] => string(1) "1"
      ["sub_options"] => array(2) {
      ["item_edits"] => string(1) "1"
      ["item_comments"] => string(1) "1"
      }
      ["do"] => string(7) "publish"
      ["itemtypeid"] => string(1) "1"
      ["areaid"] => string(1) "4"
      ["section"] => string(1) "0"
      ["posthash"] => string(0) ""
      ["poststarttime"] => string(10) "1592645109"
      ["revparentid"] => string(0) ""
      ["loggedinuser"] => string(1) "3"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(70) "/wiki/Stadtwiki_Geislingen?do=create&itemtypeid=1&etid=1&ecid=0 &eaid=4"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 6068
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    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. June 20, 2020 11:35 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. In src/addons/vw/vw/_core/controller/dm/batch/vw.php, find and remove:
      Code:
      		if ($this->instance->presave_called() !== null)
      		{
      			return $this->instance->presave_called();
      		}
      Find and remove:
      Code:
      $this->instance->presave_called($retval);
      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 3:09 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.