• 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
    • Call to undefined method vw_URL_Model_XF2::is_valid() src/addons/vw/vw/_core/model/customfield/vw.php:1580

    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: Call to undefined method vw_URL_Model_XF2::is_valid() src/addons/vw/vw/_core/model/customfield/vw.php:1580

    • Issue Tools
      • View Changes
    1. issueid=6485 4 Weeks Ago 2:57 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Call to undefined method vw_URL_Model_XF2::is_valid() src/addons/vw/vw/_core/model/customfield/vw.php:1580

      Code:
      Error: Call to undefined method vw_URL_Model_XF2::is_valid() src/addons/vw/vw/_core/model/customfield/vw.php:1580 
      
          Generated by: Alfa Sep 17, 2025 at 7:50 PM 
      
      Stack trace
      
      #0 src/addons/vw/vw/_core/model/customfield/vw.php(1444): vw_CustomField_Model->verify_match_url(Array, 'https://norml.o...')
      #1 src/addons/vw/vw/_core/model/customfield/vw.php(1352): vw_CustomField_Model->verify_field_textarea(Array, 'https://norml.o...')
      #2 src/addons/vw/vw/_core/model/customfield/vw.php(1330): vw_CustomField_Model->verify_field_textbox(Array, 'https://norml.o...', Object(vw_DM_Revision_Controller))
      #3 src/addons/vw/vw/_core/controller/dm/fieldcontent/vw.php(163): vw_CustomField_Model->verify(9, 13, 'https://norml.o...', Object(vw_DM_Revision_Controller))
      #4 src/addons/vw/vw/_core/controller/dm/fieldrevisionvalue/vw.php(82): vw_DM_FieldContent_Controller->verify_fieldvalue('https://norml.o...')
      #5 src/addons/vw/vw/_core/controller/dm/fieldrevisionvalue/xf2.php(36): vw_DM_FieldRevisionValue_Controller->verify_fieldvalue('https://norml.o...')
      #6 src/XF/Mvc/Entity/Entity.php(834): vw_DM_FieldRevisionValue_Controller_XF2->verify_fieldvalue('https://norml.o...', 'field_value', 5, Array, Object(vw_DM_FieldRevisionValue_Controller_XF2))
      #7 src/addons/vw/vw/XF/Entity/EntityBase.php(567): XF\Mvc\Entity\Entity->_verifyValueCustom('https://norml.o...', 'field_value', 5, Array)
      #8 src/XF/Mvc/Entity/Entity.php(683): vw\vw\XF\Entity\EntityBase->_verifyValueCustom('https://norml.o...', 'field_value', 5, Array)
      #9 src/addons/vw/vw/XF/Entity/EntityBase.php(552): XF\Mvc\Entity\Entity->set('field_value', 'https://norml.o...', Array)
      #10 src/addons/vw/vw/_core/controller/dm/xf2.php(256): vw\vw\XF\Entity\EntityBase->set('field_value', 'https://norml.o...')
      #11 src/addons/vw/vw/_core/controller/dm/fieldrevision/vw.php(281): vw_DM_Controller_XF2->set('field_value', 'https://norml.o...')
      #12 src/addons/vw/vw/XF/Entity/EntityBase.php(637): vw_DM_FieldRevision_Controller->pre_save(true)
      #13 src/XF/Mvc/Entity/Entity.php(1421): vw\vw\XF\Entity\EntityBase->_preSave()
      #14 src/addons/vw/vw/XF/Entity/EntityBase.php(628): XF\Mvc\Entity\Entity->preSave()
      #15 src/addons/vw/vw/_core/controller/dm/xf2.php(396): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #16 src/addons/vw/vw/_core/controller/dm/base/vw.php(974): vw_DM_Controller_XF2->pre_save(true)
      #17 src/addons/vw/vw/_core/controller/dm/base/vw.php(812): vw_DM_Base_Controller->internal_pre_save(Object(vw_DM_Controller_XF2), true)
      #18 src/addons/vw/vw/_core/controller/dm/revision/vw.php(1024): vw_DM_Base_Controller->process_custom_fields()
      #19 src/addons/vw/vw/XF/Entity/EntityBase.php(392): vw_DM_Revision_Controller->process_custom_fields(NULL)
      #20 src/addons/vw/vw/_core/controller/dm/vw.php(156): vw\vw\XF\Entity\EntityBase->__call('process_custom_...', Array)
      #21 src/addons/vw/vw/_core/controller/dm/page/vw.php(1134): vw_DM_Controller->__call('process_custom_...', Array)
      #22 src/addons/vw/vw/_core/controller/dm/page/vw.php(809): vw_DM_Page_Controller->process_revision()
      #23 src/addons/vw/vw/XF/Entity/EntityBase.php(637): vw_DM_Page_Controller->pre_save(true)
      #24 src/XF/Mvc/Entity/Entity.php(1421): vw\vw\XF\Entity\EntityBase->_preSave()
      #25 src/addons/vw/vw/XF/Entity/EntityBase.php(628): XF\Mvc\Entity\Entity->preSave()
      #26 src/addons/vw/vw/_core/controller/dm/xf2.php(396): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #27 src/addons/vw/vw/_core/controller/ui/edit/page/vw.php(603): vw_DM_Controller_XF2->pre_save()
      #28 src/addons/vw/vw/_core/controller/ui/edit/vw.php(174): vw_UI_Edit_Page_Controller->start_dm(Object(vw_UI_Page_Controller), Array, Array)
      #29 src/addons/vw/vw/_core/controller/ui/page/vw.php(504): vw_UI_Edit_Controller->save(Array)
      #30 src/addons/vw/vw/_core/controller/ui/page/vw.php(168): vw_UI_Page_Controller->save()
      #31 src/addons/vw/vw/_core/controller/ui/stack/vw.php(361): vw_UI_Page_Controller->execute()
      #32 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(163): vw_UI_Stack_Controller->execute()
      #33 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #34 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controller\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #35 src/XF/Mvc/Dispatcher.php(362): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #36 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #37 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #38 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #39 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
      #40 src/XF.php(806): XF\App->run()
      #41 index.php(23): XF::runApp('XF\\Pub\\App')
      #42 {main}
      
      Request state
      
      array(4) {
        ["url"] => string(19) "/wiki/NORML?do=save"
        ["referrer"] => string(73) "/wiki/NORML?do=edit&etid=1&ecid=772&eaid=13&efid=0"
        ["_GET"] => array(2) {
          ["/wiki/NORML"] => string(0) ""
          ["do"] => string(4) "save"
        }
        ["_POST"] => array(26) {
          ["_xfToken"] => string(8) "********"
          ["message"] => string(53755) "
      	"
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(5) "NORML"
          ["summary"] => string(3) "..."
          ["reason"] => string(0) ""
          ["query"] => string(0) ""
          ["icontype"] => string(0) ""
          ["fonticon"] => string(4) "f016"
          ["fontstyle"] => string(1) "s"
          ["custom_fields"] => array(3) {
            ["website"] => string(18) "https://site.org/"
          }
          ["untabbed"] => string(1) "0"
          ["autolink"] => string(2) "-2"
          ["notifytype"] => string(1) "0"
          ["sub_options"] => array(2) {
            ["item_edits"] => string(1) "1"
            ["item_comments"] => string(1) "1"
          }
          ["do"] => string(4) "save"
          ["section"] => string(1) "0"
          ["posthash"] => string(73) "ceddd25f531aebdc1943dfd1f766e4bc,6e96c754a74639f7190154067f9d75a5000c6843"
          ["poststarttime"] => string(10) "1758134997"
          ["revparentid"] => string(5) "29327"
          ["loggedinuser"] => string(1) "1"
          ["ct_checkjs"] => string(1) "0"
          ["sbutton"] => string(7) "sbutton"
          ["_xfResponseType"] => string(4) "json"
          ["_xfWithData"] => string(1) "1"
          ["_xfRequestUri"] => string(50) "/wiki/NORML?do=edit&etid=1&ecid=772&eaid=13&efid=0"
        }
      }
    Issue Details
    Issue Number 6485
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.9
    Fixed Version 4.1.10
    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. 4 Weeks Ago 10:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/model/customfield/vw.php, find:
      Code:
      return vw_Hard_Core::model('URL')->is_valid($value);
      Replace with:
      Code:
      return vw_Hard_Core::model('URL')->is_valid_url($value);
      Reply Reply  
    2. 3 Weeks Ago 7:30 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      For some reason the website field will not display on the form.
      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 5:17 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.