Title: WordPress caught an error with Polylang
Last modified: April 23, 2025

---

# WordPress caught an error with Polylang

 *  Resolved [heduino](https://wordpress.org/support/users/heduino/)
 * (@heduino)
 * [12 months ago](https://wordpress.org/support/topic/wordpress-caught-an-error-with-polylang/)
 * I got an email recently with this information:
 * =======================
 * Hii!
 * WordPress has a built-in feature that detects when a plugin or theme causes a
   fatal error on your site, and notifies you with this automated email.
 * In this case, WordPress caught an error with one of your plugins, Polylang.
 * First, visit your website ([https://www.iloveportugal.shop/](https://www.iloveportugal.shop/))
   and check for any visible issues. Next, visit the page where the error was caught(
   [https://www.iloveportugal.shop/wp-admin/admin.php?page=stats&noheader&proxy&chart=admin-bar-hours-scale-2x](https://www.iloveportugal.shop/wp-admin/admin.php?page=stats&noheader&proxy&chart=admin-bar-hours-scale-2x))
   and check for any visible issues.
 * (…)
 * When seeking help with this issue, you may be asked for some of the following
   information:
   WordPress version 6.8Active theme: Augest Child (version 1.0.0)Current
   plugin: Polylang (version 3.7)PHP version 7.4.33
 * Error Details
   =============An error of type E_ERROR was caused in line 84 of 
   the file /home/heduinor/public_html/iloveportugal.shop/wp-content/plugins/polylang/
   admin/admin-filters-media.php. Error message: Uncaught Error: Call to undefined
   method PLL_Admin_Links::get_data_from_new_media_translation_request() in /home/
   heduinor/public_html/iloveportugal.shop/wp-content/plugins/polylang/admin/admin-
   filters-media.php:84Stack trace:#0 /home/heduinor/public_html/iloveportugal.shop/
   wp-includes/class-wp-hook.php(324): PLL_Admin_Filters_Media->translate_media(”)#
   1 /home/heduinor/public_html/iloveportugal.shop/wp-includes/class-wp-hook.php(
   348): WP_Hook->apply_filters(NULL, Array)#2 /home/heduinor/public_html/iloveportugal.
   shop/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#3 /home/heduinor/
   public_html/iloveportugal.shop/wp-admin/admin.php(176): do_action(‘admin_init’)#
   4 {main} thrown
 * ==========================
 * Can anyone help understand how to fix it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-caught-an-error-with-polylang%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [hugod](https://wordpress.org/support/users/hugod/)
 * (@hugod)
 * [12 months ago](https://wordpress.org/support/topic/wordpress-caught-an-error-with-polylang/#post-18431544)
 * Hi,
   Thanks for reaching us. You have to know that `PLL_Admin_Links::get_data_from_new_media_translation_request()`
   does exist, see [https://github.com/polylang/polylang/blob/f850d7af3a4e5051ecbfcf03d1cd1a909861d37f/admin/admin-links.php#L274](https://github.com/polylang/polylang/blob/f850d7af3a4e5051ecbfcf03d1cd1a909861d37f/admin/admin-links.php#L274).
   In order to fix your issue, please delete Polylang from your `wp-content/plugins/`
   directory and add it back.Regards.
    -  This reply was modified 12 months ago by [hugod](https://wordpress.org/support/users/hugod/).
 *  Thread Starter [heduino](https://wordpress.org/support/users/heduino/)
 * (@heduino)
 * [12 months ago](https://wordpress.org/support/topic/wordpress-caught-an-error-with-polylang/#post-18432048)
 * Thanks for getting back to me. What exactly do you mean by deleting Polylang 
   and adding it back?
 * Add back how? Download the Plugin files and adding it back to same folder?
 * Or deleting and installing again?
 * Will this procedure delete the translations already made? I also have Loco Translate,
   and the site has 2 languages already working.
 *  Plugin Contributor [Sebastien SERRE](https://wordpress.org/support/users/sebastienserre/)
 * (@sebastienserre)
 * [12 months ago](https://wordpress.org/support/topic/wordpress-caught-an-error-with-polylang/#post-18433005)
 * Hello
 * It means delete the `wp-content/plugins/polylang` folder on your host and install
   it again.
   You can also follow the 4 steps described in our doc about installation.
   [https://polylang.pro/doc/installation/](https://polylang.pro/doc/installation/)
   The goal is to remove the existing Polylang files and then add the latest ones.
   If you just delete the files from your host or follow our documentation, then
   no settings will be deleted, your already translated content and Loco Translate
   job will remain

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

The topic ‘WordPress caught an error with Polylang’ 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

 * [WordPress](https://wordpress.org/support/topic-tag/wordpress/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sebastien SERRE](https://wordpress.org/support/users/sebastienserre/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/wordpress-caught-an-error-with-polylang/#post-18433005)
 * Status: resolved