WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] Broken in WP 3.5 (RC1) - missing arguments (4 posts)

  1. monkeypigs
    Member
    Posted 1 year ago #

    Just downloaded and activated this and get
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/monkey/public_html/blog/wp-content/plugins/wp-photo-album-plus/wppa-album-admin-autosave.php on line 26 and defined in /home/monkey/public_html/blog/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/monkey/public_html/blog/wp-content/plugins/wp-photo-album-plus/wppa-common-functions.php on line 904 and defined in /home/monkey/public_html/blog/wp-includes/wp-db.php on line 990

    Missing argument 2 for wpdb::prepare(), called in /home/monkey/public_html/blog/wp-content/plugins/wp-photo-album-plus/wppa-album-admin-autosave.php on line 261 and defined in /home/monkey/public_html/blog/wp-includes/wp-db.php on line 990

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, i know, i am working on it.

    They (the wp core guys) want that we use prepare in all db queries for safety reasons, but now, by wp 3.5 it is no longer allowed to have a prepare without vars (like in sprintf() ).

    I modified approx 40 times, introduced new typos etc..

    In a few days i will release a fixed version. need more testing.

    Thanx for the report.

  3. monkeypigs
    Member
    Posted 1 year ago #

    Great stuff, look forward to it!

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed 4.8.6

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags