Title: initial setup &#8211; when setting departments error
Last modified: February 21, 2024

---

# initial setup – when setting departments error

 *  Resolved [alexandrumit](https://wordpress.org/support/users/alexandrumit/)
 * (@alexandrumit)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/initial-setup-when-setting-departments-error/)
 * Hello,
 * At initial setup – first install on new website (not lots of content), when adding
   department names and click next, the following error appears:
 * Please help me setup this plugin
 * **Fatal error**: Uncaught Error: Call to undefined function WeDevs\ERP\Admin\
   erp_hr_create_department() in /home/r115555data/public_html/wp-content/plugins/
   erp/includes/Admin/SetupWizard.php:737 Stack trace: #0 [internal function]: WeDevs\
   ERP\Admin\SetupWizard->setup_step_departments_save() #1 /home/r115555data/public_html/
   wp-content/plugins/erp/includes/Admin/SetupWizard.php(109): call_user_func(Array)#
   2 /home/r115555data/public_html/wp-includes/class-wp-hook.php(324): WeDevs\ERP\
   Admin\SetupWizard->setup_wizard(”) #3 /home/r115555data/public_html/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /home/r115555data/
   public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/r115555data/
   public_html/wp-admin/admin.php(175): do_action(‘admin_init’) #6 /home/r115555data/
   public_html/wp-admin/index.php(10): require_once(‘/home/r115555da…’) #7 {main}
   thrown in **/home/r115555data/public_html/wp-content/plugins/erp/includes/Admin/
   SetupWizard.php** on line **737**
 * A fost o eroare critică pe acest site web. Pentru instrucțiuni, te rog vezi emailurile
   primite de administratorul site-ului.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finitial-setup-when-setting-departments-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Md. Tanvir Chowdhury](https://wordpress.org/support/users/tanvir101/)
 * (@tanvir101)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/initial-setup-when-setting-departments-error/#post-17447541)
 * Hello [@alexandrumit](https://wordpress.org/support/users/alexandrumit/),
   It 
   seems you are having some errors on your site while adding the department on 
   WP ERP. We are not getting such errors on our servers.Therefore, I would request
   you to [contact](https://wperp.com/contact/) us so we can guide you through it.
   Thanks for understanding and hoping to help you resolve your issue.Thanks,
 *  [Md. Tanvir Chowdhury](https://wordpress.org/support/users/tanvir101/)
 * (@tanvir101)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/initial-setup-when-setting-departments-error/#post-17510111)
 * Hello [@alexandrumit](https://wordpress.org/support/users/alexandrumit/),
   As 
   there has been no activity for a while, I am closing this thread. Please feel
   free to create a new thread for any future confusion or assistance you require.
   Thank you for your cooperation.

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

The topic ‘initial setup – when setting departments error’ is closed to new replies.

 * ![](https://ps.w.org/erp/assets/icon-256x256.gif?rev=3439413)
 * [ERP: Complete HR, Accounting & CRM Suite with WooCommerce CRM Support](https://wordpress.org/plugins/erp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/erp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/erp/)
 * [Active Topics](https://wordpress.org/support/plugin/erp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/erp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/erp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Md. Tanvir Chowdhury](https://wordpress.org/support/users/tanvir101/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/initial-setup-when-setting-departments-error/#post-17510111)
 * Status: resolved