The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Just noticed an error message after updating to 4.2.2.
When I log into the site, and then click on admin (for admin panel) if I put the wrong password in this second login I get this:
Warning: Invalid argument supplied for foreach() in ..../login.php(119) : eval()'d code on line 4 |
#2
|
|||
|
|||
Check a plugin in the "login_failure" hook location, line 4 of the plugin.
|
#3
|
||||
|
||||
Would this be in the login.php file? How do I check?
|
#4
|
|||
|
|||
In your list of plugins (Plugin Manager) in Plugins & Products. It goes in login.php but the file is not the problem, it's some product.
When you have an error or warning message like that it lists the line in the file and the line in the plugin that goes in the hook location at the given file line. Warning: Invalid argument supplied for foreach() in ..../login.php(119) : eval()'d code on line 4 So check line 119 in login.php and you'll see Code:
($hook = vBulletinHook::fetch_hook('login_failure')) ? eval($hook) : false; |
#5
|
||||
|
||||
Sorry to sound so stupid, but how do I know which plugin it is? How do I narrow it down?
|
#6
|
|||
|
|||
If you can't tell by looking at the list of plugins, then you can try temporarily disabling your products one by one. Obviously if you have one that has to do with login failures you'd start with that one.
If you have plugins that aren't part of a product, then look under the "vbulletin" section in the pugin manager for one that uses that hook. |
#7
|
|||
|
|||
The Hook Location is the second column when you view Plugin Manager. If there are several plugins in that hook location check each one for "foreach( .........)" on line 4
|
#8
|
||||
|
||||
Ok, found it. Looks like it is connected to the admincp firewall. Anyone know how to fix this? Thanks.
|
#9
|
||||
|
||||
If it from a mod, best place is to ask in that mods thread.
|
#10
|
||||
|
||||
Thanks. Looks like the mod is no longer supported... bummer...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|