News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error in Log after new install of SMF 1.1 RC1

Started by gizmo28, September 22, 2005, 06:56:47 PM

Previous topic - Next topic

gizmo28

I keep getting this reoccuring error in my error log, it happens when ever I manually register or activate someone.

The error that shows up is:

2: Wrong parameter count for in_array()
File: /home/gizmo02/public_html/Sources/ManageMembers.php
Line: 878

Any idea as to why this error happens or a possible fix for it.

xenovanis

Can you do a detailed version check in Admin -> Support and Credits?
"Insanity: doing the same thing over and over again and expecting different results."

[Unknown]

Find, ManageMembers.php:

if (!in_array($_REQUEST['todo'], 'delete', 'deleteemail', 'reject', 'rejectemail', 'remind'))

Replace:

if (!in_array($_REQUEST['todo'], array('delete', 'deleteemail', 'reject', 'rejectemail', 'remind')))

-[Unknown]

gizmo28

Thanks Unknown, that fixed the problem, that sure was a fast response. :)

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: