Forums

WordPress behaving weird: 'deprecated' (16 posts)

  1. bvdkooi
    Member
    Posted 8 months ago #

    Seems I cannot login anymore in my WordPress.. Although, when I just go to my website, the upper menu is still visible. Only my 'Dashboard' in WordPress seems not accessible.

    Therefore, I cannot update my WordPress version, and I keep getting an annoying error message in my WordPress:

    [...] 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.

    When I try to activate some Plugins, my website also shows this piece of error. Although there is nothing wrong with my Plugins nor my Themes..

    Anyone knows what happens here?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder in wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

  3. bvdkooi
    Member
    Posted 8 months ago #

    Thanks, but I did both those options and that doesn't seem to be the problem..

  4. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Now try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress 3.2.

  5. bvdkooi
    Member
    Posted 8 months ago #

    I tried that too. Still the same outcome, nothing changes..

  6. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    I'm sorry but this sounds like a plugin or theme issue to me.

  7. bvdkooi
    Member
    Posted 8 months ago #

    Not at all. I use the WordPress standard theme and no plugins at all. But still errors..

  8. keesiemeijer
    moderator
    Posted 8 months ago #

    ".... deprecated since version 2.0!" is is a WordPress warning saying that a theme or plugin uses code that is deprecated since version 2.0.

    Do you have this in your wp-config.php: define('WP_DEBUG', true);?
    Set it to false define('WP_DEBUG', false); to get rid of these warnings. But beware that something is still causing wordpress to show warnings (plugin or theme).

    Can you show us the full error?

  9. bvdkooi
    Member
    Posted 8 months ago #

    Allright, thanks for your feedback. Here is the full error:

    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. in /customers/e/6/2/socialmediamodellen.nl/httpd.www/wp-includes/functions.php on line 3466 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. in /customers/e/6/2/socialmediamodellen.nl/httpd.www/wp-includes/functions.php on line 3466 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. in /customers/e/6/2/socialmediamodellen.nl/httpd.www/wp-includes/functions.php on line 3466 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. in /customers/e/6/2/socialmediamodellen.nl/httpd.www/wp-includes/functions.php on line 3466 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. in /customers/e/6/2/socialmediamodellen.nl/httpd.www/wp-includes/functions.php on line 3466

  10. keesiemeijer
    moderator
    Posted 8 months ago #

    Are you using a plugin called "Advertising Manager"?
    And did you have WP_DEBUG set to true?

  11. bvdkooi
    Member
    Posted 8 months ago #

    I've set the WP-debug to 'false', so the errors are gone. But I still cannot access my Dashboard.

    I have deactivated the Advertising Manager plugin. Because I've set the WP-debug to 'false', I can't see the error, so I don't know what the new error text is...

    I do know that I still cannot access my Dashboard...

  12. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    How did you deactivate plugins?

    Did you rename the plugins folder to plugins-old?

  13. bvdkooi
    Member
    Posted 8 months ago #

    No, just deactivated them by checking all and clicking 'deactivate'...

  14. bvdkooi
    Member
    Posted 8 months ago #

    Okay, I renamed to plugins-old.. but the Dashboard still doesnt seem to work.

  15. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    How did you deactivate them if the dashboard doesn't work... Or by 'doesn't work' do you just mean you have that error message?

    Did you test, at the same time, plugins off and JUST 2011?

  16. bvdkooi
    Member
    Posted 8 months ago #

    Well, the Dashboard is the upper link in the left menu. The 'widgets' link works fine, so I can deactivate them.

    Yes I tested that, still no result though.

Reply

You must log in to post.

About this Topic