[resolved] Code appearing after update to 3.5 (6 posts)

  1. drbobgonzales
    Posted 3 years ago #

    After updating to 3.5, I have the following code appearing on my site:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/drgonz98/public_html/wp-content/themes/traction_pro/functions/traction-extend.php on line 267 and defined in /home/drgonz98/public_html/wp-includes/wp-db.php on line 990

    Did a Google search but couldn't find anything. Can anyone point me to a fix?


  2. Please disable error reporting/display on your host. And you should report this to the theme author.

  3. Drew Jaynes
    Docs Czar
    Posted 3 years ago #

    Hi drbobgonzales,

    I suggest contacting your theme developer, who in this case looks to be The Theme Foundry.

  4. drbobgonzales
    Posted 3 years ago #

    Thanks, guys. I did contact my theme developer and am awaiting his response. Not sure how to "disable the reporting/display" on the host. Any guidance?

  5. You could try this:
    Open your wp-config.php file and place these lines into it:

    ini_set( 'display_errors', false );
    error_reporting( 0 );
  6. itanjillc
    Posted 2 years ago #

    Many thanks Dominik! Adding those two lines to my wp-config.php worked beautifully!!!

Topic Closed

This topic has been closed to new replies.

About this Topic