Title: Fatal error
Last modified: March 6, 2024

---

# Fatal error

 *  Resolved [bavovna](https://wordpress.org/support/users/bavovna/)
 * (@bavovna)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4645/)
 * Hi. I got an error that when I go to the site and want to configure it, it shows
   this
 *     ```wp-block-code
       Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_print_media_templates" not found or invalid function name in /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-hook.php:324 Stack trace: #0 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #1 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/script-loader.php(2245): do_action('wp_print_footer...') #3 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/block-editor.php(377): wp_print_footer_scripts() #4 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/block-editor.php(623): _wp_get_iframed_editor_assets() #5 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-customize-widgets.php(850): get_block_editor_settings(Array, Object(WP_Block_Editor_Context)) #6 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->enqueue_scripts('') #7 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-admin/customize.php(123): do_action('customize_contr...') #10 {main} thrown in /var/www/ch572a0d24/www/naturcosmetics.cx.ua/wp-includes/class-wp-hook.php on line 324
       ```
   
 * Please help solve this problem
   Before this everything was fine, I just needed
   to add the site-map files. Initially I installed the XML Sitemap Generator for
   Google plugin, and then Yoast SEO, but still stayed on the first plugin and after
   that the following error occurred.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4645%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4645/#post-17495658)
 * [@bavovna](https://wordpress.org/support/users/bavovna/), I don’t see any occurrences
   of our plugin files in the provided error.
 *  Thread Starter [bavovna](https://wordpress.org/support/users/bavovna/)
 * (@bavovna)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4645/#post-17496169)
 * what could be causing the error?
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4645/#post-17498229)
 * I’m sorry, you’ll have to ask a developer to investigate.

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Auctollo](https://wordpress.org/support/users/auctollo/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4645/#post-17498229)
 * Status: resolved