WordPress.org

Ready to get started?Download WordPress

Forums

Revisionary
[resolved] [PATCH] Only variables should be assigned by reference (5 posts)

  1. flynsarmy
    Member
    Posted 11 months ago #

    In WP3.6 with PHP 5.4.10 with WP_DEBUG turned on I'm getting the following error when deleting posts:

    Strict standards: Only variables should be assigned by reference in /path/to/wp-content/plugins/revisionary/admin/admin-init_rvy.php on line 75

    Simply change

    } elseif ( $post =& get_post( $_GET['post'] ) ) {

    to

    } elseif ( $post = get_post( $_GET['post'] ) ) {

    http://wordpress.org/plugins/revisionary/

  2. Bryan
    Member
    Posted 10 months ago #

    Just wanted to drop a quick thank you for all the patches - much appreciated!

    Do you get any error messages when you are not logged in, and go to yoursite.com/wp-admin/ - by no means am I asking for a fix, just wondering if that is exclusive to my setup.

    Thanks again for the excellent contributions!

  3. flynsarmy
    Member
    Posted 10 months ago #

    I do actually.

    Strict standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RevisionaryAdminHardway_Ltd::flt_last_resort_query() should not be called statically in /path/to/wp-includes/plugin.php on line 173

    A pretty easy one, in /revisionary/hardway/hardway-admin_non-administrator_rvy.php change

    function flt_last_resort_query($query) {

    to

    public static function flt_last_resort_query($query) {
  4. Bryan
    Member
    Posted 10 months ago #

    Much appreciation over here - Thank you!

  5. kevinB
    Member
    Plugin Author

    Posted 7 months ago #

    Revisionary 1.1.12 fixes these PHP Notices.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.