Support » Plugin: myCred - Points, Rewards, Gamification, Ranks, Badges & Loyalty Plugin » Fatal error – Call to a member function get()…

  • Resolved BeeTeam368

    (@beeteam368)


    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 3 years, 3 months ago by BeeTeam368.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @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!

    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

    (@beeteam368)

    Hi @wpexpertsio,

    Thank you for your quick reply!

    Hi @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

    (@wpexpertsio)

    Hi @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

    (@beeteam368)

    Hi @wpexpertsio,

    Thank you very much!

    #00002363 – This is the ticket I just created

    Best Regards!

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @beeteam368,

    We are marking this thread as resolved, we have fixed your issue and hope everything is working fine.

    Thanks!

    Thread Starter BeeTeam368

    (@beeteam368)

    Thank you very much!

    We have received support from your system.

    When will the new version be released?

    Best Regards!

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hey @beeteam368,

    Kindly respond on the ticket previously opened, we need to verify the fixes done on your site.

    Thanks!

    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 3 years, 3 months ago by VlooMan.

    @beeteam368 How did they resolve your problem?

    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

    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

    (@wpexpertsio)

    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

    (@beeteam368)

    Thanks @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.