Title: Fatal error &#8211; Call to a member function get()&#8230;
Last modified: March 7, 2019

---

# Fatal error – Call to a member function get()…

 *  Resolved [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * (@beeteam368)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/)
 * Hi myCred Support Team!
 * There was an error when using version 1.8.1:
 * Notice: Undefined index: customtypekey in C:\xampp\htdocs\wordpressthemes\wp-
   content\plugins\mycred\includes\mycred-functions.php on line 1157
 * Notice: Undefined index: customtypekey in C:\xampp\htdocs\wordpressthemes\wp-
   content\plugins\mycred\includes\mycred-functions.php on line 1158
 * Fatal error: Uncaught Error: Call to a member function get() on null in C:\xampp\
   htdocs\wordpressthemes\wp-content\plugins\mycred\includes\mycred-functions.php:
   1158 Stack trace: #0 C:\xampp\htdocs\wordpressthemes\wp-content\plugins\mycred\
   includes\mycred-functions.php(3098): myCRED_Settings->get_users_balance(1, ‘customtypekey’)#
   1
 * Can you check this problem?
 * Thanks, Best Regards!
    -  This topic was modified 7 years, 3 months ago by [BeeTeam368](https://wordpress.org/support/users/beeteam368/).

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

 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11284350)
 * Hi [@beeteam368](https://wordpress.org/support/users/beeteam368/),
 * Thank you for contacting us. The team is working on the bug fixes of mycred 1.8
   and will release a version update with bug fixes.
 * Thank You!
 *  [halloy](https://wordpress.org/support/users/halloy/)
 * (@halloy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11287110)
 * Hello the Team ! Thank your for your udate to fix this error. But I’ve always
   the same, just on the members list, none on the member profile. :
 * Fatal error: Uncaught Error: Call to a member function get() on null in /htdocs/
   wp-content/plugins/mycred/includes/mycred-functions.php:1167 Stack trace: #0 /
   htdocs/wp-content/plugins/mycred/includes/mycred-functions.php(3107): myCRED_Settings-
   >get_users_balance(8, ‘customtypekey’) #1 /htdocs/wp-content/plugins/youzer/includes/
   public/core/mycred/yz-mycred-balance.php(114): mycred_get_users_balance(8, ‘customtypekey’)#
   2 /htdocs/wp-includes/class-wp-hook.php(286): yz_get_md_mycred_statistics(8) #
   3 /htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)#
   4 /htdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /htdocs/wp-
   content/plugins/youzer/includes/public/core/functions/directories/yz-members-
   directory-functions.php(233): do_action(‘yz_after_member…’, 8) #6 /htdocs/wp-
   content/plugins/youzer/includes/public/templates/members/members-loop.php(102):
   yz_get_member_statistics_data(8) #7 /htdocs/wp-includes/template.php(690): require(‘/
   htdocs/wp-cont…’) #8 /htdocs/wp-content/plugins/buddyp in /htdocs/wp-content/
   plugins/mycred/includes/mycred-functions.php on line 1167
 *  Thread Starter [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * (@beeteam368)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11287988)
 * Hi [@wpexpertsio](https://wordpress.org/support/users/wpexpertsio/),
 * Thank you for your quick reply!
 * Hi [@halloy](https://wordpress.org/support/users/halloy/),
 * This error appears both on the members list and the member profile!
 * We need to wait! The author of this plugin is a professional developer. They 
   will solve this problem through an update.
 * Thanks!
 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11297271)
 * Hi [@beeteam368](https://wordpress.org/support/users/beeteam368/),
 * Kindly open a support ticket at mycred.me/support and one of our support members
   will look into your issue. We were unable to reproduce the same on our side so
   the technical support will help you resolve this problem.
 * Hope you would understand this and once you open the ticket kindly let me know
   the ticket number so i can escalate your ticket.
 * Thank You!
 *  Thread Starter [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * (@beeteam368)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11315705)
 * Hi [@wpexpertsio](https://wordpress.org/support/users/wpexpertsio/),
 * Thank you very much!
 * #00002363 – This is the ticket I just created
 * Best Regards!
 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11334766)
 * Hi [@beeteam368](https://wordpress.org/support/users/beeteam368/),
 * We are marking this thread as resolved, we have fixed your issue and hope everything
   is working fine.
 * Thanks!
 *  Thread Starter [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * (@beeteam368)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11353973)
 * Thank you very much!
 * We have received support from your system.
 * When will the new version be released?
 * Best Regards!
 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11355904)
 * Hey [@beeteam368](https://wordpress.org/support/users/beeteam368/),
 * Kindly respond on the ticket previously opened, we need to verify the fixes done
   on your site.
 * Thanks!
 *  [VlooMan](https://wordpress.org/support/users/vlooman/)
 * (@vlooman)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11356403)
 * Hey guys,
 * P.S. Tried to signup for your Support but my activation e-mail never came. ( 
   hecked spam as well 🙁 )
 * Experiencing the same problem. Latest WP, WooCommerce, myCred gateway addon and
   when I try to purchase a product:
 *     ```
       [26-Mar-2019 09:21:38 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in project/wp-content/plugins/mycred/includes/mycred-functions.php:1167
       Stack trace:
       #0 project/wp-content/plugins/mycred/addons/gateway/carts/mycred-woocommerce.php(325): myCRED_Settings->get_users_balance(2, 'MYC')
       #1 project/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(888): WC_Gateway_myCRED->process_payment(108)
       #2 project/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1081): WC_Checkout->process_order_payment(108, 'mycred')
       #3 project/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(435): WC_Checkout->process_checkout()
       #4 project/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout('')
       #5 ... in project/wp-content/plugins/mycred/includes/mycred-functions.php on line 1167
       ```
   
 * What is going wrong?
    -  This reply was modified 7 years, 2 months ago by [VlooMan](https://wordpress.org/support/users/vlooman/).
 *  [VlooMan](https://wordpress.org/support/users/vlooman/)
 * (@vlooman)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11356432)
 * [@beeteam368](https://wordpress.org/support/users/beeteam368/) How did they resolve
   your problem?
 *  [drtoddhoffman555](https://wordpress.org/support/users/drtoddhoffman555/)
 * (@drtoddhoffman555)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11363372)
 * I still havent gotten an activation message either and I have the same issue.
 * Fatal error: Call to a member function get() on null in /home/content/93/9731893/
   html/beta/wp-content/plugins/mycred/includes/mycred-functions.php on line 1167
 *  [drtoddhoffman555](https://wordpress.org/support/users/drtoddhoffman555/)
 * (@drtoddhoffman555)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11363381)
 * I’m still getting the error on the user profile page.
 * Fatal error: Call to a member function get() on null in /home/content/93/9731893/
   html/beta/wp-content/plugins/mycred/includes/mycred-functions.php on line 1167
 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11366245)
 * Hey all,
 * Kindly let us know which version of myCred are you using as this was fixed in
   the latest update myCred 1.8.3
 * Thanks!
 *  Thread Starter [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * (@beeteam368)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11366487)
 * Thanks [@wpexpertsio](https://wordpress.org/support/users/wpexpertsio/),
 * I will check it in a few days.
 * Hope it works well. A great product!
 * Best Regards!

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

The topic ‘Fatal error – Call to a member function get()…’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 14 replies
 * 5 participants
 * Last reply from: [BeeTeam368](https://wordpress.org/support/users/beeteam368/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3152/#post-11366487)
 * Status: resolved