Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    The options might be missing. WP-Admin -> Settings -> PageNavi, ensure the options are filled up for the site (not network admin)

    Thread Starter Ravikumar Patel

    (@ravipatel)

    Yes But. this one code issue.

    network site setting exists serialized data but when on the sub site not work code for get and display after this code change getting auto data please correct code after test.

    $data = array_merge( $this->defaults, (array)get_option( $this->key, array() ) );

    replace to in code

    $data = array_merge( $this->defaults, (array)get_option( $this->key, array() ) );

    Thanks for plugin and reply.

    Plugin Author Lester Chan

    (@gamerz)

    I don’t see a difference between both code you pasted?

    You can submit a PR to https://github.com/scribu/wp-scb-framework/blob/master/Options.php

    Thread Starter Ravikumar Patel

    (@ravipatel)

    sorry on line no 44.

    $data = array_merge( $this->defaults, get_option( $this->key, array() ) );

    replace to in code

    $data = array_merge( $this->defaults, (array)get_option( $this->key, array() ) );

    Thanks for plugin and reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: array_merge() issue’ is closed to new replies.