Title: Update failed
Last modified: March 7, 2023

---

# Update failed

 *  Resolved [pwcredia](https://wordpress.org/support/users/pwcredia/)
 * (@pwcredia)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/update-failed-91/)
 * Hello,
   I have been having the problem with the Polylang plugin for two months
   now that when I update my pages, the error “Update failed” occurs and I cannot
   create any pages. The error is caused by the Polylang plugin, I have already 
   checked this. Can you please help me. Thank you

Viewing 1 replies (of 1 total)

 *  Thread Starter [pwcredia](https://wordpress.org/support/users/pwcredia/)
 * (@pwcredia)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/update-failed-91/#post-16539278)
 * **Fatal error**: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback)
   must be a valid callback, function “pll_custom_flag” not found or invalid function
   name in /var/www/brc-solar.de/public_html/wp-includes/class-wp-hook.php:308 Stack
   trace: #0 /var/www/brc-solar.de/public_html/wp-includes/plugin.php(205): WP_Hook-
   >apply_filters() #1 /var/www/brc-solar.de/public_html/wp-content/plugins/polylang/
   include/language.php(320): apply_filters() #2 /var/www/brc-solar.de/public_html/
   wp-content/plugins/polylang/include/links-model.php(184): PLL_Language->set_flag()#
   3 /var/www/brc-solar.de/public_html/wp-includes/class-wp-hook.php(310): PLL_Links_Model-
   >pll_languages_list() #4 /var/www/brc-solar.de/public_html/wp-includes/plugin.
   php(205): WP_Hook->apply_filters() #5 /var/www/brc-solar.de/public_html/wp-content/
   plugins/polylang/include/model.php(133): apply_filters() #6 /var/www/brc-solar.
   de/public_html/wp-content/plugins/polylang/include/translated-object.php(570):
   PLL_Model->get_languages_list() #7 /var/www/brc-solar.de/public_html/wp-content/
   plugins/polylang/include/translated-object.php(354): PLL_Translated_Object->validate_translations()#
   8 /var/www/brc-solar.de/public_html/wp-content/plugins/polylang/modules/sync/
   sync-tax.php(175): PLL_Translated_Object->get_translations() #9 /var/www/brc-
   solar.de/public_html/wp-includes/class-wp-hook.php(310): PLL_Sync_Tax->set_object_terms()#
   10 /var/www/brc-solar.de/public_html/wp-includes/class-wp-hook.php(332): WP_Hook-
   >apply_filters() #11 /var/www/brc-solar.de/public_html/wp-includes/plugin.php(
   517): WP_Hook->do_action() #12 /var/www/brc-solar.de/public_html/wp-includes/
   taxonomy.php(2879): do_action() #13 /var/www/brc-solar.de/public_html/wp-includes/
   post.php(5261): wp_set_object_terms() #14 /var/www/brc-solar.de/public_html/wp-
   content/plugins/polylang/include/translated-post.php(63): wp_set_post_terms()#
   15 /var/www/brc-solar.de/public_html/wp-content/plugins/polylang/include/crud-
   posts.php(77): PLL_Translated_Post->set_language() #16 /var/www/brc-solar.de/
   public_html/wp-content/plugins/polylang/include/crud-posts.php(105): PLL_CRUD_Posts-
   >set_default_language() #17 /var/www/brc-solar.de/public_html/wp-includes/class-
   wp-hook.php(310): PLL_CRUD_Posts->save_post() #18 /var/www/brc-solar.de/public_html/
   wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #19 /var/www/brc-
   solar.de/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /var/
   www/brc-solar.de/public_html/wp-includes/post.php(4717): do_action() #21 /var/
   www/brc-solar.de/public_html/wp-admin/includes/post.php(699): wp_insert_post()#
   22 /var/www/brc-solar.de/public_html/wp-admin/post-new.php(66): get_default_post_to_edit()#
   23 {main} thrown in **/var/www/brc-solar.de/public_html/wp-includes/class-wp-
   hook.php** on line **308**

Viewing 1 replies (of 1 total)

The topic ‘Update failed’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [pwcredia](https://wordpress.org/support/users/pwcredia/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/update-failed-91/#post-16539278)
 * Status: resolved