• 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 3.x Series
    • Bug
    • Fatal Error after upgrading to 3.0.11

    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: Fatal Error after upgrading to 3.0.11

    • Issue Tools
      • View Changes
    1. issueid=2252 March 2, 2011 5:53 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Fatal Error after upgrading to 3.0.11

      After upgrade to 3.0.11 I am getting this error:
      Code:
      Warning: Invalid argument supplied for foreach() in /forum/global.php(238) : eval()'d code on line 275
      
      Fatal error: Cannot use string offset as an array in /forum/global.php(355) : eval()'d code on line 428
      The strange thing is that this did not happen immediately after upgrade, but hours later. I did not change anything else to my site.

      I can not login or access my site. I will need tools.php to disable plugins.
    Issue Details
    Issue Number 2252
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Not a Bug
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.11
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 2, 2011 7:28 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      tools.php did not work. I needed to restart the webserver. That resolved it for now. This does make me wonder what the problem is.
      Reply Reply  
    2. March 2, 2011 11:38 AM
      pegasus pegasus is offline
      VaultWiki Team
      @ the warning, VaultWiki's style_fetch plugin doesn't use foreach. Another plugin is having the problem.

      @ the fatal error, VaultWiki doesn't attempt to do anything in cache_templates except a function call. If the error was with VaultWiki, it would mention a line number inside that function.

      You are probably looking for a different modification that has plugins at both hook locations. You can review the plugin code to confirm whether the error message applies or could have applied if something was not right.

      Also, in the future, you don't need to use tools.php to disable plugins. You can edit includes/config.php, and add the line:
      Code:
      define('DISABLE_HOOKS', true);
      Reply Reply  
    3. March 3, 2011 4:49 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks. That is very helpful. It turned out that my host had updated software(apache, php, etc) and some plugins(Restrict Styles to Usergroup and another one that I am trying to pin down) are not compatible.
      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 6:31 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.