Title: Error when deactivating plugin
Last modified: November 16, 2018

---

# Error when deactivating plugin

 *  [miqalarcia](https://wordpress.org/support/users/miqalarcia/)
 * (@miqalarcia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-when-deactivating-plugin-2/)
 * Hello!
 * I’ve searched the forum for similar issue and found a couple that didn’t solved
   mine.
 * I am getting an error when trying to deactivate Polylang Plugin.
 * * Fatal error: Uncaught Error: Call to undefined function pll_the_languages()
   in /home/qiero866/public_html/Clientes/andtraveller/wp-content/themes/traveller/
   templates/header/info.php:45 Stack trace: #0 /home/qiero866/public_html/Clientes/
   andtraveller/wp-includes/template.php(690): require() #1 /home/qiero866/public_html/
   Clientes/andtraveller/wp-includes/template.php(647): load_template(‘/home/qiero866/…’,
   false) #2 /home/qiero866/public_html/Clientes/andtraveller/wp-includes/general-
   template.php(155): locate_template(Array, true, false) #3 /home/qiero866/public_html/
   Clientes/andtraveller/wp-content/themes/traveller/header.php(21): get_template_part(‘
   templates/heade…’) #4 /home/qiero866/public_html/Clientes/andtraveller/wp-includes/
   template.php(688): require_once(‘/home/qiero866/…’) #5 /home/qiero866/public_html/
   Clientes/andtraveller/wp-includes/template.php(647): load_template(‘/home/qiero866/…’,
   true) #6 /home/qiero866/public_html/Clientes/andtraveller/wp-includes/general-
   template.php(41): locate_template(Array, t in /home/qiero866/public_html/Clientes/
   andtraveller/wp-content/themes/traveller/templates/header/info.php on line 45
 * Please help if possible, cause I don’t know how to solve the issue.
 * Thanks!
    Miq.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-deactivating-plugin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [codestylist](https://wordpress.org/support/users/codestylist/)
 * (@codestylist)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-when-deactivating-plugin-2/#post-10888198)
 * This messages is related to your theme.
    The theme traveler is using the function`
   pll_the_languages()` in info.php. This is a Polylang function. When you deactivate
   Polylang you see this message because the function does not exist. You have to
   contact your theme developer to check first if the function exists before using
   it.
    -  This reply was modified 7 years, 6 months ago by [codestylist](https://wordpress.org/support/users/codestylist/).

Viewing 1 replies (of 1 total)

The topic ‘Error when deactivating plugin’ 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

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

 * 1 reply
 * 2 participants
 * Last reply from: [codestylist](https://wordpress.org/support/users/codestylist/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/error-when-deactivating-plugin-2/#post-10888198)
 * Status: not resolved