• 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: Invalid argument supplied for foreach() - vault/core/view/editor/vw.php:49

    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: Invalid argument supplied for foreach() - vault/core/view/editor/vw.php:49

    • Issue Tools
      • View Changes
    1. issueid=5443 August 17, 2018 3:46 PM
      expanserpb expanserpb is offline
      Junior Member
      ErrorException: Invalid argument supplied for foreach() - vault/core/view/editor/vw.php:49

      ErrorException: Invalid argument supplied for foreach() - vault/core/view/editor/vw.php:49
      Generated By: Netherworld, Wednesday at 6:33 PM
      Stack Trace
      #0 /var/www/html/vault/core/view/editor/vw.php(49): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/html/v...', 49, Array)
      #1 /var/www/html/vault/core/view/ui/redirect/vw.php(200): vw_Editor_View->errorlist('#!-- XEN:VWPHRA...')
      #2 /var/www/html/vault/core/controller/ui/redirect/vw.php(665): vw_UI_Redirect_View->edit(Object(vw_UI_Redirect_Controller))
      #3 /var/www/html/vault/core/controller/ui/redirect/vw.php(481): vw_UI_Redirect_Controller->edit(Object(vw_UI_Redirect_Controller))
      #4 /var/www/html/vault/core/controller/ui/page/vw.php(572): vw_UI_Redirect_Controller->save()
      #5 /var/www/html/vault/core/controller/ui/page/vw.php(76): vw_UI_Page_Controller->post_redirect()
      #6 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #7 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #8 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #9 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #10 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #11 /var/www/html/index.php(13): XenForo_FrontController->run()
      #12 {main}
      Request State
      array(3) {
      ["url"] => string(66) "https://chroniclesrp.net/Folklore/Core-Lore:Humans?do=postredirect"
      ["_GET"] => array(1) {
      ["do"] => string(12) "postredirect"
      }
      ["_POST"] => array(11) {
      ["prefixid"] => array(2) {
      [3] => string(1) "0"
      [4] => string(1) "0"
      }
      ["synonyms"] => array(2) {
      [3] => string(0) ""
      [0] => string(0) ""
      }
      ["areaids"] => array(1) {
      [0] => string(1) "5"
      }
      ["_xfToken"] => string(8) "********"
      ["do"] => string(12) "postredirect"
      ["targethash"] => string(0) ""
      ["itemtypeid"] => string(2) "18"
      ["posthash"] => string(0) ""
      ["poststarttime"] => string(0) ""
      ["loggedinuser"] => string(2) "11"
      ["sbutton"] => string(12) "Save Changes"
      }
      }
    Issue Details
    Issue Number 5443
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Synonyms
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.23
    Fixed Version 4.0.24
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 17, 2018 4:06 PM
      pegasus pegasus is offline
      VaultWiki Team
      This error occurs if you have modified a synonym in such a way that would remove the synonym, but you do not have permission to delete synonyms.

      In vault/core/controller/ui/redirect/vw.php, find:
      Code:
      $this->errorlist["$key"] = vw_Hard_Core::view('Phrase')->get('vw_delete_permission_error', 'error');
      Replace with:
      Code:
      $this->errorlist["$key"] = array(vw_Hard_Core::view('Phrase')->get('vw_delete_permission_error', 'error'));
      Reply Reply  
    2. August 18, 2018 5:16 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 7:36 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.