Title: Error : Fatal error: Uncaught Error: Call to undefined function plugin_dir_path(
Last modified: January 21, 2021

---

# Error : Fatal error: Uncaught Error: Call to undefined function plugin_dir_path(

 *  Resolved [Mohamad Zidani](https://wordpress.org/support/users/mzidani/)
 * (@mzidani)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/)
 * Hello
 * I’m using xampp windows when i open installer on browser it redirect to “dup-
   installer/main.installer.php” and show this error :
 * `Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in
   C:\xampp1\htdocs\infoc\dup-installer\classes\config\class.boot.php:17 Stack trace:#
   0 C:\xampp1\htdocs\infoc\dup-installer\main.installer.php(52): require_once()#
   1 {main} thrown in C:\xampp1\htdocs\infoc\dup-installer\classes\config\class.
   boot.php on line 17`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13938760)
 * Hey [@mzidani](https://wordpress.org/support/users/mzidani/)
 * Thanks for the feedback! There are a few items in the FAQ that may provide a 
   solution to this issue, this one may get you going.
 *     – How can I fix “Call to undefined function” errors?
        – [https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-120-q](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-120-q)
 * Let me know if this helps~
 *  Thread Starter [Mohamad Zidani](https://wordpress.org/support/users/mzidani/)
 * (@mzidani)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13939392)
 * Hey [@corylamleorg](https://wordpress.org/support/users/corylamleorg/) i checked
   the FAQ
 * – I’m using PHP 7+
    – There is no disabled functions.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13939430)
 * Hey [@mzidani](https://wordpress.org/support/users/mzidani/),
 * What version of the plugin are you using?
 * Thanks
 *  Thread Starter [Mohamad Zidani](https://wordpress.org/support/users/mzidani/)
 * (@mzidani)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13939703)
 * [@corylamleorg](https://wordpress.org/support/users/corylamleorg/)
 * Last version : 1.3.40.1
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13939906)
 * Hey [@mzidani](https://wordpress.org/support/users/mzidani/),
 * I’m not quite sure why you would see that I don’t even see that method in the
   source. If you would like to submit a [support ticket](https://snapcreek.com/ticket)
   for this issue we can have a closer look at your setup. Please provide a link
   to this forum thread when submitting the ticket.
 * Cheers~

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

The topic ‘Error : Fatal error: Uncaught Error: Call to undefined function plugin_dir_path(’
is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-fatal-error-uncaught-error-call-to-undefined-function-plugin_dir_path/#post-13939906)
 * Status: resolved