PDA


View Full Version : Issue: array_keys() argument warning.


SecTa
11-21-2005, 10:06 AM
vBa CMPS is installed on vB 3.5
forum situated in root folder. Installation made with optional step (step 2).
When entering vBa CMPS options via admin CP, following message appear in the header of the page:

Warning: array_keys(): The first argument should be an array in /includes/functions.php on line 3175

Brian
11-21-2005, 05:33 PM
Can you take a look at line 3175 in your functions.php file and verify if this is the line of code there?
foreach(array_keys($vbulletin->forumcache) AS $forumid)
The function surrounding that code isn't used anywhere in the CMPS, so I'm not entirely sure how you would be getting that error if that is the same code you have in your file...

SecTa
11-22-2005, 10:31 AM
The issue is fixed by removing file editing made in step 2 (optional one) of installation...