Title: Errors on log when updating options
Last modified: November 26, 2017

---

# Errors on log when updating options

 *  Resolved [hero12](https://wordpress.org/support/users/hero12/)
 * (@hero12)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/)
 * Hello,
    it seems that it doesn’t save options, ’cause
 * `Invalid argument supplied for foreach() in /home/myuser/public_html/blog/wp-
   content/plugins/delete-duplicate-posts/delete-duplicate-posts.php on line 503`
 * `[26-Nov-2017 09:39:00 UTC] PHP Notice: Undefined variable: query in /home/myuser/
   public_html/blog/wp-content/plugins/delete-duplicate-posts/delete-duplicate-posts.
   php on line 545`
 * `[26-Nov-2017 11:10:23 UTC] PHP Notice: Undefined variable: internal in /home/
   myuser/public_html/blog/wp-content/plugins/delete-duplicate-posts/delete-duplicate-
   posts.php on line 490`
 * Also, when you try to save,
 * “Which post types?” doesn’t keep the selected value
 * Thanks
    -  This topic was modified 8 years, 5 months ago by [hero12](https://wordpress.org/support/users/hero12/).

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

 *  [dorianj](https://wordpress.org/support/users/dorianj/)
 * (@dorianj)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/#post-9743079)
 * A google search brought me here for the exact same reason. Same error on line
   503 and the “post types” does not keep its selected value.
 *  Plugin Author [cleverplugins](https://wordpress.org/support/users/cleverplugins/)
 * (@cleverplugins)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/#post-9744190)
 * Hello, hero12 and dorianj – thank you for informing me of this bug. I have just
   released version 4.1.9.3 that fixes this problem.
 * This was a problem that came with the WordPress 4.9 update – unfortunately, I
   was away from the internet when this happened, so I was not able to fix the problem
   until now.
 * Please mark the topic as resolved if the new version works for you or let me 
   know here in this thread.
 *  [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/#post-9797385)
 * I just encountered the same error. The problem is NOT solved with version v 4.1.9.3.
   I am running WordPress 4.9.1.
 * Please address this issue, quickly.
 * *** I deleted the plugin and then re-uploaded and reinstalled it and that seems
   to have solved the problem.
 * Regards
    -  This reply was modified 8 years, 4 months ago by [locutus45](https://wordpress.org/support/users/locutus45/).
 *  [splaquet](https://wordpress.org/support/users/splaquet/)
 * (@splaquet)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/#post-10150937)
 * I was having the same issue. I resolved it by deactivating the plugin, updating
   the version, then reactivating it. Hopefully that helps y’all out.

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

The topic ‘Errors on log when updating options’ is closed to new replies.

 * ![](https://ps.w.org/delete-duplicate-posts/assets/icon-256x256.gif?rev=2454059)
 * [Delete Duplicate Posts](https://wordpress.org/plugins/delete-duplicate-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delete-duplicate-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delete-duplicate-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/delete-duplicate-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delete-duplicate-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delete-duplicate-posts/reviews/)

## Tags

 * [invalid argument](https://wordpress.org/support/topic-tag/invalid-argument/)
 * [save error](https://wordpress.org/support/topic-tag/save-error/)

 * 4 replies
 * 5 participants
 * Last reply from: [splaquet](https://wordpress.org/support/users/splaquet/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/errors-on-log-when-updating-options/#post-10150937)
 * Status: resolved