The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Invalid argument supplied for foreach() in functions_prefix.php on line 133
Hello,
anyone also found this PHP error in the vbulletin 4.x error log? Invalid argument supplied for foreach() in /includes/functions_prefix.php on line 133 I am having 4.2.5 and PHP 5.6.40 $ grep foreach functions_prefix.php Code:
foreach ($restrictions AS $usergroup) foreach ($prefixsets AS $prefixsetid => $prefixes) foreach ($prefixes AS $prefixid => $prefix) foreach ($valid_prefix_sets AS $prefixset) foreach ($prefixset AS $prefixid => $prefix) One answer was: Code:
foreach ((array) $items as $item) { // ... } foreach ($ by: foreach ((array) $ resulting in: $ grep foreach functions_prefix.php Code:
foreach ((array) $restrictions AS $usergroup) foreach ((array) $prefixsets AS $prefixsetid => $prefixes) foreach ((array) $prefixes AS $prefixid => $prefix) foreach ((array) $valid_prefix_sets AS $prefixset) foreach ((array) $prefixset AS $prefixid => $prefix) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|