The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Simple Page Ordering
FIX: unexpected t_object_operator in simple-page-ordering.php at line 54 (1 post)

  1. toastyghost
    Posted 5 years ago #

    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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Page Ordering
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic