WordPress.org

Ready to get started?Download WordPress

Forums

Missing argument 2 for wpdb::prepare() error (6 posts)

  1. umerkakar
    Member
    Posted 1 year ago #

    I am facing this error on admin dashboard:
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/cpanel/public_html/wp-content/themes/classipress/includes/admin/admin-options.php on line 841 and defined in /home/cpanel/public_html/wp-includes/wp-db.php on line 990

    And this one in post page:
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/cpanel/public_html/wp-content/themes/classipress/includes/theme-functions.php on line 408 and defined in /home/cpanel/public_html/wp-includes/wp-db.php on line 990

    Please help to resolve the issue

  2. See http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    Your site is fine, but you may wish to turn off PHP's display errors setting. Contact your theme developer - classipress - and point them to the link above so they can fix the underlying issue.

  3. umerkakar
    Member
    Posted 1 year ago #

    how i can fix it myself. Little help needed. Because I am learning web development with wordpress and php. So, I want to solve this problem my self.

  4. Read the link above on how to turn off PHP's display errors setting.

  5. umerkakar
    Member
    Posted 1 year ago #

    ok thanks, i done it. But one question is there any problem can held with web.

  6. is there any problem can held with web.

    I don't understand what you mean by that.

Topic Closed

This topic has been closed to new replies.

About this Topic