Link to home
Create AccountLog in
Avatar of dukiejc99
dukiejc99

asked on

Need help with Wordpress error message generated for some plugins

Hi,
I'm currently using WP 3.0.2 and recently found that some of my plugins when activated gave me this error message:

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

It references the functions.php file in wp-includes folder.  I'm not too familiar with updating or fixing PHP codes and not sure where this error is coming from.  I've attached the functions.php file if someone can help me troubleshoot this.  

The plugin that is giving me problems are Status Updater and Featured Posts List2.  
Any help would be appreciated.
Thanks.
functions.php
ASKER CERTIFIED SOLUTION
Avatar of Dushyant Sharma
Dushyant Sharma
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of dukiejc99
dukiejc99

ASKER

Hi jeremyjared74,
Thanks and yes you did work with me on errors I was getting with my site in the admin tool.  I did switch my host to Hostgator and am slowly working through all the plugins to get the site back up again.  I think most likely that it does have to do with the theme i'm using since I tested (Featured Posts List2) with the default twenty-ten theme and it was ok.  However i'm still having problems with the Status Updater and a couple of other plugins so may need to find a different plugin or switch my theme.
Would you recommend switching to a better theme?  This would be more work for me but may resolve all the errors I was getting.
Also, I did change my setting for 'WP_DEBUG' to "false" in my wp-config file but am still getting the error notices in the admin tool.



Does the plug-in work despite the errors?

I don't think the theme is causing the plug-in errors. I believe the theme was causing some other errors (not related to the plug-ins). The best way would be to find a similar plug-in that is still supported. Try to find one that has been downloaded multiple times.

If you aren't able to find replacement plug-ins, I can try to help you find a way to accomplish it with code possibly. If you could list your specific requirements for the plug-ins, maybe someone could recommend a replacement, or some code to replace the plug-in.
Avatar of Sam Cohen
can you paste a screenshot of the error?