Support » Plugin: WP-Cron Control » Broken in 3.5

Viewing 4 replies - 1 through 4 (of 4 total)
  • I also have the same problem on BlogLines.co.za

    [28-Dec-2012 19:00:01 UTC] PHP Warning:  Missing argument 2 for wpdb::prepare(), called in /home/blogline/public_html/wp-content/plugins/wp-cron-control/wp-cron-control.php on line 291 and defined in /home/blogline/public_html/wp-includes/wp-db.php on line 990
    [28-Dec-2012 19:30:02 UTC] PHP Warning:  Missing argument 2 for wpdb::prepare(), called in /home/blogline/public_html/wp-content/plugins/wp-cron-control/wp-cron-control.php on line 291 and defined in /home/blogline/public_html/wp-includes/wp-db.php on line 990

    This is quite easily fixed by replacing line 291 with

    $wpdb->prepare( "SELECT ID, post_date_gmt FROM $wpdb->posts WHERE post_status = 'future' " , $sql );

    Plugin Author Erick Hitter

    (@ethitter)

    Code Wizard

    Version 0.7 corrects resolves the PHP warning.

    Thank you for the update 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken in 3.5’ is closed to new replies.