Title: PHP 7.2 warning
Last modified: June 16, 2019

---

# PHP 7.2 warning

 *  Resolved [nhowarth](https://wordpress.org/support/users/nhowarth/)
 * (@nhowarth)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/php-7-2-warning-7/)
 * I’m getting a report on all web pages – “Warning: array_merge(): Argument #2 
   is not an array in /home/cypruspr/public_html/wp/wp-content/plugins/wp-pagenavi/
   scb/Options.php on line 62”
 * I believe this is the offender?
 *  public function get( $field = null, $default = null ) {
    $data = array_merge(
   $this->defaults, get_option( $this->key, array() ) );
 *  return scbForms::get_value( $field, $data, $default );
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-7-2-warning-7/#post-11663807)
 * Go to WP-admin -> Settings -> PageNavi and save the settings again. Your settings
   are empty and that cases the error.
 *  Thread Starter [nhowarth](https://wordpress.org/support/users/nhowarth/)
 * (@nhowarth)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-7-2-warning-7/#post-11663927)
 * Many thanks Lester
 * All is now OK
 * Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 7.2 warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-pagenavi/assets/icon.svg?rev=977997)
 * [WP-PageNavi](https://wordpress.org/plugins/wp-pagenavi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pagenavi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pagenavi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pagenavi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pagenavi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pagenavi/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nhowarth](https://wordpress.org/support/users/nhowarth/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/php-7-2-warning-7/#post-11663927)
 * Status: resolved