Skip to content Skip to main menu Skip to utility menu

Missing arguments?

Home Forums GovIntranetters Missing arguments?

This topic contains 2 replies, has 2 voices, and was last updated by  Luke Oatham 5 years, 9 months ago.

  • Author
  • #990


    Missing argument 2 for wpdb::prepare(), called in /home/myname/public_html/mysite/wp-content/themes/govintranetpress/functions.php on line 1173 and defined in /home/myname/public_html/mysite/wp-includes/wp-db.php on line 992

    I’m getting this message on the main newspage, the document finder page, the events page, and so on, usually in the vicinity of category and tag lists in the sidebars. Anyone have any thoughts?

    You must be logged in to view attached files.
  • #994


    Answered (somewhat) my own question. I turned off error displays which took care of the message, but found this post that you may want to consider. PHP Warning: Missing argument 2 for wpdb::prepare()

  • #1020

    Luke Oatham

    This has been corrected in the lasted theme updates on github.

You must be logged in to reply to this topic.