Title: Warning while menu operations
Last modified: August 21, 2016

---

# Warning while menu operations

 *  [lejf](https://wordpress.org/support/users/lejf/)
 * (@lejf)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/warning-while-menu-operations/)
 * Hello,
 * Such a problem. Polylang 1.5.3. WP 3.6.1
 * When I add new item (page) to some menu i get a single warning like this:
 * Warning: Missing argument 3 for PLL_Admin_Filters_Post::save_post() in /home/
   virtualki/28508/wp-content/plugins/polylang/admin/admin-filters-post.php on line
   306
 * When I save the menu i get as many warnings (like above) as many items (pages)
   the manu contains.
 * Everything looks ok. Menus save itselves. But this warnings are irritating.
 * Any ideas?
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Thread Starter [lejf](https://wordpress.org/support/users/lejf/)
 * (@lejf)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/warning-while-menu-operations/#post-5098667)
 * In the other site – with Polylang 1.5.2 installed – the problem doesn’t appear.
   I have compared the line (306) in the ‘admin-filters-post.php’ file of both versions.
   
   The line is different in each version. In 1.5.3 appeared the third argument (
   $update)
 * 1.5.2
    public function save_post($post_id, $post)
 * 1.5.3
    public function save_post($post_id, $post, $update)
 * How to resolve the problem? I’m afraid to just remove this parameter out of this
   line. There must be some sense of it’s appearing there.
    ?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/warning-while-menu-operations/#post-5098727)
 * Hi!
 * Yes it is useful and that’s a bug fix. Does your problem exist when using a default
   theme such Twenty Twelve and all other plugins de-activated?
 * EDIT: I just noticed. Are you really using WP 3.6.1?

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

The topic ‘Warning while menu operations’ is closed to new replies.

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

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [missing argument](https://wordpress.org/support/topic-tag/missing-argument/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/warning-while-menu-operations/#post-5098727)
 * Status: not resolved