WordPress.org

Ready to get started?Download WordPress

Forums

PHP Errors on Blog Admin and Public Pages (2 posts)

  1. outofthebuzzsaw
    Member
    Posted 3 years ago #

    Hello all,

    I'm finding the following PHP errors showing at the top of my admin page when I edit posts related to plugins. Here are the ones that show on my post editing pages:

    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 /var/www/html/myblog/wp-includes/functions.php on line 3321

    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 /var/www/html/myblog/wp-includes/functions.php on line 3321

    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 /var/www/html/myblog/wp-includes/functions.php on line 3321

    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 /var/www/html/myblog/wp-includes/functions.php on line 3321

    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 /var/www/html/myblog/wp-includes/functions.php on line 3321

    Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /var/www/html/myblog/wp-includes/functions.php on line 3237

    And, on my public page above the posts:

    Notice: Undefined variable: style in /var/www/html/myblog/wp-content/plugins/tweet-this/tweet-this.php on line 1053

    What do these mean and how do I fix them?

    Dahna

  2. Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Default theme (WordPress 1.5 - 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to rule-out a theme-specific issue (theme functions can affect the admin panel).

Topic Closed

This topic has been closed to new replies.

About this Topic