Title: Call to undefined function pll_default_language
Last modified: August 29, 2022

---

# Call to undefined function pll_default_language

 *  Resolved [dimonfreeman](https://wordpress.org/support/users/dimonfreeman/)
 * (@dimonfreeman)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_default_language/)
 * Polylang PRO default lang select… but have error …
    An error of type E_ERROR 
   was caused in line 49 of the file /wp-content/plugins/pdf-invoices-and-packing-
   slips-for-woocommerce-pro/includes/class-apifw-ml.php. Error message: Uncaught
   Error: Call to undefined function pll_default_language() in /wp-content/plugins/
   pdf-invoices-and-packing-slips-for-woocommerce-pro/includes/class-apifw-ml.php:
   49 Stack trace: #0 /wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce-
   pro/includes/class-apifw-api.php(57): APIFW_Ml->__construct() #1 /wp-content/
   plugins/pdf-invoices-and-packing-slips-for-woocommerce-pro/start.php(93): APIFW_Api-
   >__construct() #2 /wp-settings.php(418): include_once(‘/var/www/vhosts…’) #3 /
   wp-config.php(86): require_once(‘/var/www/vhosts…’) #4 /wp-load.php(50): require_once(‘/
   var/www/vhosts…’)

Viewing 1 replies (of 1 total)

 *  [sarathacodez](https://wordpress.org/support/users/sarathacodez/)
 * (@sarathacodez)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_default_language/#post-15961730)
 * Hi,
 * We have released a new version with bugs fixed. Please upgrade to the latest 
   version.

Viewing 1 replies (of 1 total)

The topic ‘Call to undefined function pll_default_language’ is closed to new replies.

 * ![](https://ps.w.org/pdf-invoices-and-packing-slips-for-woocommerce/assets/icon-
   256x256.gif?rev=3327933)
 * [PDF Invoices and Packing Slips For WooCommerce](https://wordpress.org/plugins/pdf-invoices-and-packing-slips-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-invoices-and-packing-slips-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-invoices-and-packing-slips-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-invoices-and-packing-slips-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-invoices-and-packing-slips-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-invoices-and-packing-slips-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sarathacodez](https://wordpress.org/support/users/sarathacodez/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_default_language/#post-15961730)
 * Status: resolved