Title: Error On Installing
Last modified: November 18, 2021

---

# Error On Installing

 *  [yoshilch](https://wordpress.org/support/users/yoshilch/)
 * (@yoshilch)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-on-installing-3/)
 * Fatal error: Uncaught Error: Call to undefined function imagecreatefrompng() 
   in C:\xampp\htdocs\testrefer\w\wp-content\plugins\multilevel-referral-plugin-
   for-woocommerce\classes\referral-users.php:1432 Stack trace: #0 C:\xampp\htdocs\
   testrefer\w\wp-content\plugins\multilevel-referral-plugin-for-woocommerce\classes\
   referral-users.php(1510): Referal_Users->fnCheckAndGetImageType(‘C:\\xampp\\htdocs…’)#
   1 C:\xampp\htdocs\testrefer\w\wp-content\plugins\multilevel-referral-plugin-for-
   woocommerce\classes\referral-users.php(1251): Referal_Users->writeTextonImage(‘
   Referral Code :…’, ‘C:\\xampp\\htdocs…’, ‘1’) #2 C:\xampp\htdocs\testrefer\w\
   wp-content\plugins\multilevel-referral-plugin-for-woocommerce\classes\referral-
   users.php(1090): Referal_Users->wmcShowBanners() #3 C:\xampp\htdocs\testrefer\
   w\wp-includes\shortcodes.php(343): Referal_Users->referral_user_invite_friends(”,”,‘
   wmc_invite_frie…’) #4 [internal function]: do_shortcode_tag(Array) #5 C:\xampp\
   htdocs\testrefer\w\wp-includes\shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(
   wmc_in…’, ‘do_shortcode_ta…’, ‘[wmc_invite_fri…’) #6 C:\xampp\htdocs\testrefer\
   w\wp-content\plugins\multilevel-referral-plugin-for-woocommerce\classes\referral-
   users.php(914): do_shortcode(‘[wmc_invite_fri…’, true) #7 C:\xampp\htdocs\testrefer\
   w\wp-includes\shortcodes.php(343): Referal_Users->wmc_my_referrals(”, ”, ‘wmc_my_referral…’)#
   8 [internal function]: do_shortcode_tag(Array) #9 C:\xampp\htdocs\testrefer\w\
   wp-includes\shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wmc_my…’, ‘
   do_shortcode_ta…’, ‘[wmc_my_referra…’) #10 C:\xampp\htdocs\testrefer\w\wp-content\
   plugins\multilevel-referral-plugin-for-woocommerce\classes\referral-users.php(
   888): do_shortcode(‘[wmc_my_referra…’) #11 C:\xampp\htdocs\testrefer\w\wp-content\
   plugins\multilevel-referral-plugin-for-woocommerce\classes\referral-users.php(
   2980): Referal_Users->referral_user_account_panel() #12 C:\xampp\htdocs\testrefer\
   w\wp-includes\class-wp-hook.php(292): Referal_Users->woocommerce_account_referral_endpoint_hook(”)#
   13 C:\xampp\htdocs\testrefer\w\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(”,
   Array) #14 C:\xampp\htdocs\testrefer\w\wp-includes\plugin.php(484): WP_Hook->
   do_action(Array) #15 C:\xampp\htdocs\testrefer\w\wp-content\plugins\woocommerce\
   includes\wc-template-functions.php(3131): do_action(‘woocommerce_acc…’, ”) #16
   C:\xampp\htdocs\testrefer\w\wp-includes\class-wp-hook.php(292): woocommerce_account_content(”)#
   17 C:\xampp\htdocs\testrefer\w\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(
   NULL, Array) #18 C:\xampp\htdocs\testrefer\w\wp-includes\plugin.php(484): WP_Hook-
   >do_action(Array) #19 C:\xampp\htdocs\testrefer\w\wp-content\plugins\woocommerce\
   templates\myaccount\my-account.php(34): do_action(‘woocommerce_acc…’) #20 C:\
   xampp\htdocs\testrefer\w\wp-content\plugins\woocommerce\includes\wc-core-functions.
   php(345): include(‘C:\\xampp\\htdocs…’) #21 C:\xampp\htdocs\testrefer\w\wp-content\
   plugins\woocommerce\includes\shortcodes\class-wc-shortcode-my-account.php(123):
   wc_get_template(‘myaccount/my-ac…’, Array) #22 C:\xampp\htdocs\testrefer\w\wp-
   content\plugins\woocommerce\includes\shortcodes\class-wc-shortcode-my-account.
   php(72): WC_Shortcode_My_Account::my_account(”) #23 C:\xampp\htdocs\testrefer\
   w\wp-content\plugins\woocommerce\includes\class-wc-shortcodes.php(72): WC_Shortcode_My_Account::
   output(”) #24 C:\xampp\htdocs\testrefer\w\wp-content\plugins\woocommerce\includes\
   class-wc-shortcodes.php(115): WC_Shortcodes::shortcode_wrapper(Array, ”) #25 
   C:\xampp\htdocs\testrefer\w\wp-includes\shortcodes.php(343): WC_Shortcodes::my_account(”,”,‘
   woocommerce_my_…’) #26 [internal function]: do_shortcode_tag(Array) #27 C:\xampp\
   htdocs\testrefer\w\wp-includes\shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(
   woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce_my…’) #28 C:\xampp\htdocs\testrefer\
   w\wp-includes\class-wp-hook.php(292): do_shortcode(‘[woocommerce_my…’) #29 C:\
   xampp\htdocs\testrefer\w\wp-includes\plugin.php(212): WP_Hook->apply_filters(‘[
   woocommerce_my…’, Array) #30 C:\xampp\htdocs\testrefer\w\wp-includes\post-template.
   php(253): apply_filters(‘the_content’, ‘\n\t\t\t\t[woocommer…’) #31 C:\xampp\
   htdocs\testrefer\w\wp-content\themes\astra\template-parts\content-page.php(54):
   the_content() #32 C:\xampp\htdocs\testrefer\w\wp-includes\template.php(732): 
   require(‘C:\\xampp\\htdocs…’) #33 C:\xampp\htdocs\testrefer\w\wp-includes\template.
   php(676): load_template(‘C:\\xampp\\htdocs…’, false, Array) #34 C:\xampp\htdocs\
   testrefer\w\wp-includes\general-template.php(204): locate_template(Array, true,
   false, Array) #35 C:\xampp\htdocs\testrefer\w\wp-content\themes\astra\inc\class-
   astra-loop.php(109): get_template_part(‘template-parts/…’, ‘page’) #36 C:\xampp\
   htdocs\testrefer\w\wp-includes\class-wp-hook.php(292): Astra_Loop->template_parts_page(”)#
   37 C:\xampp\htdocs\testrefer\w\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(”,
   Array) #38 C:\xampp\htdocs\testrefer\w\wp-includes\plugin.php(484): WP_Hook->
   do_action(Array) #39 C:\xampp\htdocs\testrefer\w\wp-content\themes\astra\inc\
   class-astra-loop.php(197): do_action(‘astra_page_temp…’) #40 C:\xampp\htdocs\
   testrefer\w\wp-content\themes\astra\inc\class-astra-loop.php(174): Astra_Loop-
   >loop_markup(true) #41 C:\xampp\htdocs\testrefer\w\wp-includes\class-wp-hook.
   php(292): Astra_Loop->loop_markup_page(”) #42 C:\xampp\htdocs\testrefer\w\wp-
   includes\class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #43 C:\xampp\
   htdocs\testrefer\w\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #44
   C:\xampp\htdocs\testrefer\w\wp-content\themes\astra\inc\core\theme-hooks.php(
   267): do_action(‘astra_content_p…’) #45 C:\xampp\htdocs\testrefer\w\wp-content\
   themes\astra\page.php(32): astra_content_page_loop() #46 C:\xampp\htdocs\testrefer\
   w\wp-includes\template-loader.php(106): include(‘C:\\xampp\\htdocs…’) #47 C:\
   xampp\htdocs\testrefer\w\wp-blog-header.php(19): require_once(‘C:\\xampp\\htdocs…’)#
   48 C:\xampp\htdocs\testrefer\w\index.php(17): require(‘C:\\xampp\\htdocs…’) #
   49 {main} thrown in C:\xampp\htdocs\testrefer\w\wp-content\plugins\multilevel-
   referral-plugin-for-woocommerce\classes\referral-users.php on line 1432

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

 *  Plugin Contributor [Mitesh Solanki](https://wordpress.org/support/users/miteshsolanki/)
 * (@miteshsolanki)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-on-installing-3/#post-15081390)
 * The issue is raised because of the GD image library.
    You can enable the gd image
   library from the server-side to fix this issue.
 *  Thread Starter [yoshilch](https://wordpress.org/support/users/yoshilch/)
 * (@yoshilch)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-on-installing-3/#post-15081619)
 * can you please tell beefily how i can do it
 *  Thread Starter [yoshilch](https://wordpress.org/support/users/yoshilch/)
 * (@yoshilch)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-on-installing-3/#post-15081757)
 * actually i wanted i system for example
 * i shared my referal link with my friend and my friend joined my referral link
   and than my friend shared his referal link with his friend and both getting point
   me and my friend
    just like referal chain

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

The topic ‘Error On Installing’ is closed to new replies.

 * ![](https://ps.w.org/multilevel-referral-plugin-for-woocommerce/assets/icon-256x256.
   png?rev=2238979)
 * [Multilevel Referral Plugin for WooCommerce](https://wordpress.org/plugins/multilevel-referral-plugin-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/multilevel-referral-plugin-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/multilevel-referral-plugin-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multilevel-referral-plugin-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multilevel-referral-plugin-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [yoshilch](https://wordpress.org/support/users/yoshilch/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-on-installing-3/#post-15081757)
 * Status: not resolved