[resolved] has_cap error and media upload issues (4 posts)

  1. webbo04
    Posted 3 years ago #

    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!

  2. webbo04
    Posted 3 years ago #

    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 ) );
  3. esmi
    Forum Moderator
    Posted 3 years ago #

    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?

  4. webbo04
    Posted 3 years ago #

    Seemed to be a troublesome plugin! Many thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic