Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Upgraded to new version breaks login

UserPost

8:23 am
January 28, 2010


cypherx

Member

posts 5

1

I updated to 1.1.4 from the previous version and now when a non administrator logs in they get:

Fatal error: Call to undefined function is_site_admin() in /var/www/wordpress/wp-content/plugins/role-scoper/lib/agapetry_wp_core_lib.php on line 92

So I deactivated the Role Scoper plugin for now in order to fix the login's.


Any idea's?  If it would of told me updating would break something, I wouldn't of done it!


8:36 am
January 28, 2010


Kevin

Admin

posts 2503

2

I apologize for that mistake.

Please edit plugins/role-scoper/lib/agapetry_wp_core_lib.php as follows:

change:

if ( ( IS_MU_RS || IS_MU_RVY ) && is_site_admin() ) 

to:

if ( ( IS_MU_RS || IS_MU_RVY ) && function_exists('is_site_admin') && is_site_admin() ) 

8:59 am
January 28, 2010


cypherx

Member

posts 5

3

Thanks!  You my friend are a gentleman and a scholar!


Were back up!



About the Agapetry forum

Currently Online:

16 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 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