Title: php warning
Last modified: January 20, 2021

---

# php warning

 *  Resolved [mredodos](https://wordpress.org/support/users/mredodos/)
 * (@mredodos)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-272/)
 * Warning: array_key_exists(): The first argument should be either a string or 
   an integer in /var/web/site/public_html/wp-content/plugins/duplicate-post/src/
   ui/class-post-list.php on line 109 Warning: Illegal offset type in /var/web/site/
   public_html/wp-content/plugins/duplicate-post/src/ui/class-post-list.php on line
   113 Notice: wpdb::prepare è stato richiamato in maniera scorretta. Tipo di valore
   non supportato (array). Leggi Debugging in WordPress per maggiori informazioni.(
   Questo messaggio è stato aggiunto nella versione 4.8.2.) in /var/web/site/public_html/
   wp-includes/functions.php on line 5311 Warning: Illegal offset type in /var/web/
   site/public_html/wp-content/plugins/duplicate-post/src/ui/class-post-list.php
   on line 127 Warning: Illegal offset type in /var/web/site/public_html/wp-content/
   plugins/duplicate-post/src/ui/class-post-list.php on line 130 Warning: array_keys()
   expects parameter 1 to be array, null given in /var/web/site/public_html/wp-content/
   plugins/duplicate-post/src/ui/class-post-list.php on line 63 Warning: array_merge():
   Expected parameter 2 to be an array, null given in /var/web/site/public_html/
   wp-content/plugins/duplicate-post/src/ui/class-post-list.php on line 63

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

 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-272/#post-13937103)
 * We are sorry to hear that you’re having trouble with our plugin. We can imagine
   how that could be frustrating for you.
 * Can you please try the given solution [here](https://wordpress.org/support/topic/error-still-present-after-update-for-v4-0-2/#post-13922517)
   to see whether this resolves the issue for you?
 * We look forward to hearing from you.
 *  [rtimmer](https://wordpress.org/support/users/rtimmer/)
 * (@rtimmer)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-272/#post-13948758)
 * I am having the same issue and I am not using Rankmath.
 * **Main config:**
    - WooCommerce: 4.9.1
    - WordPress: 5.6
    - PHP: 7.4.0
    - Elementor: 3.0.16
    - Yoast Duplicate Post: 4.0.2
 * **Messages**
    Warning: array_key_exists(): The first argument should be either
   a string or an integer in …/plugins/duplicate-post/src/ui/class-post-list.php
   on line 109 Warning: Illegal offset type in …/plugins/duplicate-post/src/ui/class-
   post-list.php on line 113
 * Notice: wpdb::prepare was called **incorrectly**. Unsupported value type (array).
 * Warning: Illegal offset type in …/plugins/duplicate-post/src/ui/class-post-list.
   php on line 127
 * Warning: Illegal offset type in …/plugins/duplicate-post/src/ui/class-post-list.
   php on line 130
 * Warning: array_keys() expects parameter 1 to be array, null given in …/plugins/
   duplicate-post/src/ui/class-post-list.php on line 63
 * Warning: array_merge(): Expected parameter 2 to be an array, null given in …/
   plugins/duplicate-post/src/ui/class-post-list.php on line 63
 * Warning: array_key_exists(): The first argument should be either a string or 
   an integer in …/plugins/duplicate-post/src/ui/class-post-list.php on line 109
 * Warning: Illegal offset type in …/plugins/duplicate-post/src/ui/class-post-list.
   php on line 113
 *  [Pcosta88](https://wordpress.org/support/users/pcosta88/)
 * (@pcosta88)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-272/#post-13955187)
 * [@rtimmer](https://wordpress.org/support/users/rtimmer/) [@mredodos](https://wordpress.org/support/users/mredodos/)
 * These errors are part of a bug. A fix is ready and will be released in v4.1 of
   Duplicate Post. We are not sure when it will be released only that a fix is expected
   to be a part of it.
 * In the meantime, we suggest signing up for our newsletter as that is where we
   will announce product changes and updates. You may sign-up for it here [https://yoast.com/](https://yoast.com/)
   by scrolling towards the bottom to complete the sign-up field.

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

The topic ‘php warning’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Pcosta88](https://wordpress.org/support/users/pcosta88/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-272/#post-13955187)
 * Status: resolved