Viewing 4 replies - 1 through 4 (of 4 total)
  • I wound this too. I updated line 990 in wp-db.php.

    function prepare( $query, $args) {

    Becomes

    function prepare( $query, $args = "" ) {

    @brayne, although I believe your solution will work, I think it is better to change the plugin and don’t mess with the WP internal files.

    Changing line 654 in wp-content/plugins/dynamic-widgets/classes/dynwid_class.php from:
    $count = $this->wpdb->get_var($this->wpdb->prepare($query));

    to
    $count = $this->wpdb->get_var($this->wpdb->prepare($query,""));

    also does the trick, but in a nicer way.

    found that line in two places, changed one then both, no help.

    I updated the plugin today to 1.5.4 seems that the issue is fixed in that version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Dynamic Widgets] Missing Argument Warning’ is closed to new replies.