Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Fatal array_diff_key error activatin Role Scoper

UserPost

6:52 pm
January 20, 2011


darvdombach

New Member

posts 1

1

I upgraded Role Scoper to 1.3.27 on my WordPress 3.0.4 (hosted on Earthlink) and, while activating, got Fatal error: Call to undefined function array_diff_key() in /netapp/whnas-silo1-node2/s9/s9/01432/…/webdocs/wordpress/wp-content/plugins/role-scoper/db-setup_rs.php on line 60.

I tried going back to an earlier version but the problem persists. How can I fix it?

10:08 am
January 21, 2011


Kevin

Admin

posts 2503

2

Try editing role-scoper.php as follows:

change:

if ( ! function_exists("array_fill_keys") )
	require_once('lib/php4support_rs.php');

to:

if ( ! function_exists("array_fill_keys") || ! function_exists("array_diff_key") )
	require_once('lib/php4support_rs.php');

About the Agapetry forum

Currently Online:

16 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin