• I’m running PHP 4.4.9 (not by my choice), so this probably doesn’t apply to anyone using a language that hasn’t been discontinued for 4 years, but if it does affect you it’s a quick fix. Steps follow.

    1. Open wordpress/wp-content/plugins/simple-page-ordering/simple-page-ordering.php in your editor of choice.
    2. At line 54, change this…
      add_filter( 'views_' . get_current_screen()->id, array( $this, 'sort_by_order_link' ) );
      to this…

      $current_screen = get_current_screen();
      add_filter( 'views_' . $current_screen->id, array( $this, 'sort_by_order_link' ) );
    3. Save/refresh and the error is gone!

    http://wordpress.org/extend/plugins/simple-page-ordering/

  • The topic ‘FIX: unexpected t_object_operator in simple-page-ordering.php at line 54’ is closed to new replies.