Support » Fixing WordPress » has_cap error and media upload issues

  • Resolved webbo04

    (@webbo04)


    Hi Guys,

    I’ve got a has_cap error in my debug.

    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 siteurl/wp-includes/functions.php on line 2923

    I’ve looked at some of the topics in here but still can’t resolve it.

    I’m also having trouble uploading media, wordpress tells me theres been an error even though it still uploads the file. It sticks on the crunching element of the uploads.

    Any help would be fantastic!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Line 2923 says:

    trigger_error( sprintf( __('%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s! %3$s'), $function, $version, $message ) );
    esmi

    (@esmi)

    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Your image uploading problem could be an issue with the server’s security configuration. Have you spoken to your hosts about it?

    Seemed to be a troublesome plugin! Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘has_cap error and media upload issues’ is closed to new replies.