• Resolved tonygao

    (@tonygao)


    PHP Notice: Undefined offset: 0 in /public_html/wp-content/plugins/mycred/includes/hooks/external/mycred-hook-woocommerce.php on line 424

    Why and how to solve it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello @tonygao,

    Hope you are doing well.

    Please share the screenshot of where this notice is appearing to you. We would like to see the notice where it is appearing and fix it for you.

    Hope to hear from you soon.

    Thanks & Regards,
    WP Experts Support Team

    Thread Starter tonygao

    (@tonygao)

    The notice is not on screen but in the debug.log file, the only key in the array($parent_reward_setup) is like “mycred_default” , I guess the index 0 ($point_type) maybe means “mycred_default”. This happened when buy event ticket via woocommerce.

    • This reply was modified 1 year, 1 month ago by tonygao.

    Hey @tonygao,

    We are unable to replicate this issue in log on our environment and we are using myCred 2.6.3 beta version. Here is the download link below.

    Download Now

    For the rest, you can use this beta version on your staging site first to check or we need a screencast video of entire scenario with backend plugin versions and debug logs.

    Hope to hear from you soon.

    Thanks

    I got this since 2021….

    Thread Starter tonygao

    (@tonygao)

    Hi Debra, have you fixed it?

    No, I contacted the support team through tickets; they resolved some issues, but not this one.

    Hello @tonygao @debra15,

    Hope you are doing well.

    We have made some code changes in our beta version regarding this PHP notice. Please download plugin form below link and re-install it into your staging site first.

    Download Now

    Let me know if this issue still persist or any other issues. We will help you out.

    Thanks

    Thread Starter tonygao

    (@tonygao)

    @daniyalraza01
    ?? Thank you very much. The PHP notice disappeared now when use the beta version.

    @debra15
    You can try it to see if the problem will be solved on your end.

    • This reply was modified 1 year, 1 month ago by tonygao.

    Thanks for the feedback @tonygao.

    Thank you. The PHP notice disappeared now.

    Hello @debra15,

    Thanks for the update. Glad to hear that it worked for you.

    I would really appreciate if you can give valuable feedback on our plugin profile regarding support and our plugin. It will be really helpful.

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Undefined offset: 0’ is closed to new replies.