![]() |
Forum array_keys, invalid argument, array_diff errors Hi, I've been running vBulletin 4 for about a year now and I'm fully up to date with all patches and security fixes. Over the last month or so my users have been reporting many issues with my forum, with strange error messages appearing at the top of the page, such as "array_keys" or "Invalid argument". Here is what they see : Example 1 : Warning: array_keys() expects parameter 1 to be array, null given in [path]/packages/vbforum/search/searchcontroller/newpost.php on line 41 Warning: Invalid argument supplied for foreach() in [path]/packages/vbforum/search/searchcontroller/newpost.php on line 50 Warning: array_diff() [function.array-diff]: Argument #1 is not an array in [path]/packages/vbforum/search/searchcontroller/newpost.php on line 60 Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4922 Example 2 : Warning: array_keys() expects parameter 1 to be array, null given in [path]/packages/vbcms/widget/recentposts.php on line 355 Warning: Invalid argument supplied for foreach() in [path]/packages/vbcms/widget/recentposts.php on line 356 Screenshot of example 1 on the live site : image.jpg There are a few other types of errors, for example where the forum home page does not show any sub-forums, just the header and trailer parts. I don't have a screenshot for this issue but will reply with it once I manage to nab it. The above errors are happening for most users (we have 1500+ members) across a variety of machines, browsers and operating systems. Any help greatly appreciated as this is becoming a big concern for us. Thanks! Attached Images |
الساعة الآن 06:57 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir