• 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
    • count(): Parameter must be an array or an object that implements Countable

    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: count(): Parameter must be an array or an object that implements Countable

    • Issue Tools
      • View Changes
    1. issueid=5441 August 17, 2018 3:33 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      count(): Parameter must be an array or an object that implements Countable

      When rebuildign tags:

      ErrorException: count(): Parameter must be an array or an object that implements Countable - vault/core/controller/dm/item/island/vw.php:44
      Generated By: Alfa, 3 minutes ago

      Stack Trace
      #0 /vault/core/controller/dm/item/island/vw.php(44): XenForo_Application::handlePhpError(2, 'count(): Parame...', '/home/nginx/dom...', 44, Array)
      #1 /library/vw/XenForo/DataWriter.php(512): vw_DM_Item_Island_Controller->pre_save(true)
      #2 /library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
      #3 /library/vw/XenForo/DataWriter.php(192): XenForo_DataWriter->preSave()
      #4 /vault/core/controller/dm/xf.php(402): vw_XenForo_DataWriter->preSaveWithReturn()
      #5 /vault/core/controller/dm/page/vw.php(2486): vw_DM_Controller_XF->pre_save(true)
      #6 /vault/core/controller/dm/page/vw.php(744): vw_DM_Page_Controller->internal_pre_save(Object(vw_DM_Controller_XF), true)
      #7 /library/vw/XenForo/DataWriter.php(512): vw_DM_Page_Controller->pre_save(true)
      #8 /library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
      #9 /library/vw/XenForo/DataWriter.php(192): XenForo_DataWriter->preSave()
      #10 /vault/core/controller/dm/xf.php(402): vw_XenForo_DataWriter->preSaveWithReturn()
      #11 /library/vw/XenForo/DataWriter.php(187): vw_DM_Controller_XF->pre_save()
      #12 /library/XenForo/DataWriter.php(1399): vw_XenForo_DataWriter->preSave()
      #13 /vault/core/controller/dm/xf.php(436): XenForo_DataWriter->save()
      #14 /library/vw/XenForo/TagHandler/vwPage.php(87): vw_DM_Controller_XF->save()
      #15 /library/XenForo/Model/Tag.php(570): vw_XenForo_TagHandler_vwPage->updateContentTagCache(Array, Array)
      #16 /library/XenForo/Deferred/TagRecache.php(50): XenForo_Model_Tag->rebuildTagCache('vwpage', 403)
      #17 /library/XenForo/Model/Deferred.php(295): XenForo_Deferred_TagRecache->execute(Array, Array, 5.1881859302521, 'Rebuilding... T...')
      #18 /library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 5.1881859302521, 'Rebuilding... T...', false)
      #19 /library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, 'Rebuilding... T...', false)
      #20 /library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, 'Rebuilding... T...', false)
      #21 /library/XenForo/FrontController.php(369): XenForo_ControllerAdmin_Tools->actionRunDeferred()
      #22 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #23 /admin.php(13): XenForo_FrontController->run()
      #24 {main}
      Request State
      array(3) {
      ["url"] => string(52) "https://my-forum.com/admin.php?tools/run-deferred"
      ["_GET"] => array(1) {
      ["tools/run-deferred"] => string(0) ""
      }
      ["_POST"] => array(3) {
      ["redirect"] => string(57) "https://my-forum.com/admin.php?tools/rebuild&success=1"
      ["execute"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      }
      }
    Issue Details
    Issue Number 5441
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.23
    Fixed Version 4.0.24
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 18, 2018 10:06 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      This also happens when I try to batch update users.
      Reply Reply  
    2. August 20, 2018 10:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is fixed on your site and in the next release. Some protected fields weren't being passed from the page DM to child DMs properly.
      Reply Reply  
    3. August 20, 2018 12:30 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      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:52 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.