The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Strange Error on Forum Homepage
This error is recently appearing, we haven't made any changes so not sure what has triggered it.
Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in ..../rss.php on line 13 Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in ..../rss.php on line 13 Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in ..../rss.php on line 13 Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in ..../rss.php on line 13 The error shows 4 times in a row and it only shows up on the homepage. |
#2
|
||||
|
||||
What version of the site? If 4.2.2, notices and warnings are no longer suppressed by default like in previous versions of the software. This means that on some servers, you may see warnings that you never saw before. In order to stop them from showing, please add the following line to your config.php file under the <?php line:
PHP Code:
|
#3
|
|||
|
|||
Resolved. Thank you so much Lynne!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|