Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter PPNSteve

    (@ppnsteve)

    here is related code:

    /**
         * To make screen options for 404 to 301 listing.
         *
         * This function is used to show screen options like entries per page,
    	 * show/hide columns etc.
         *
         * @since   2.1.0
         * @author  Joel James.
         */
    	public function screen_option() {
    
    		$option = 'per_page';
    		$args   = [
    			'label'   =>  __( 'Error Logs', '404-to-301' ),
    			'default' => 5,
    			'option'  => 'logs_per_page'
    		];
    
    		add_screen_option( $option, $args );
    
    		$this->list_table = new _404_To_301_Logs( $this->table );
    	}

    not sure why its erroring myself..

    Hi PPNSteve,

    I have wp 4.4 and after update from 2.0.9 to 2.1.0 everything is working fine.

    Might be helpful for debuging to know versions of wp and php ( i think ).

    Thread Starter PPNSteve

    (@ppnsteve)

    wp: 4.4
    root@svr4 [/]# php -v
    PHP 5.3.21 (cli) (built: Feb 3 2013 10:30:52)

    Was working just fine right before I noticed the update, once updated the plugin, it broke.

    Hi,

    Mine is 5.4.4 if it does matter. However, until mr. Joel find some time to debug your issue you could:
    1. reverse to 2.0.9 version
    2. to 2.0.9 version apply workarounds from next topic “Getting errors if “ref” column is NULL”. Those two workarounds for ‘ref’ and ‘ua’ column i think are most important for you.

    kind regards

    Thread Starter PPNSteve

    (@ppnsteve)

    ok where can I get 2.0.9 version files?

    Will investigate those workarounds though I wasn’t noticing any issues previously.

    Hi,

    Here is my backup of 2.0.9 from 12.12.2015. It is already patched, meaning modify original file from public\class-404-to-301-public.php between lines #144-#155 ( commented lines are the original):

    https://www.mediafire.com/download/ky182x7lokq8ds4/404-to-301_v2.0.9_patched.zip

    Hope that helps

    Thread Starter PPNSteve

    (@ppnsteve)

    ty, yup it helps at least until we can figure out what’s causing the error in the new version.

    let me know..

    Thread Starter PPNSteve

    (@ppnsteve)

    for ref: https://php.net/manual/en/language.types.array.php
    for compatibility you may want to use the long-form array

    Plugin Author Joel James

    (@joelcj91)

    Hello all,

    Sorry for the trouble. It was an issue with WordPress version. Could you please update now?

    Thread Starter PPNSteve

    (@ppnsteve)

    OK..
    running the update right now… stand by.

    Thread Starter PPNSteve

    (@ppnsteve)

    update did go through and all seems to working well again.. thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘version 2.1.0 Update error’ is closed to new replies.