• Resolved tonygao

    (@tonygao)


    We found the below in debug log file:

    PHP Notice: Undefined offset: 0 in /public_html/wp-content/plugins/paid-memberships-pro/includes/lib/name-parser.php on line 34

    PHP Notice: Undefined offset: -1 in /public_html/wp-content/plugins/paid-memberships-pro/includes/lib/name-parser.php on line 35

    PHP Notice: Undefined offset: 0 in /public_html/wp-content/plugins/paid-memberships-pro/includes/lib/name-parser.php on line 77

Viewing 3 replies - 1 through 3 (of 3 total)
  • @tonygao

    The only way I could duplicate this error was by modifying the pmpro_membership_orders table and adding a space in the billing_name column. The error can be viewed by viewing the order in question in the back-end and possibly on the billing page on the front-end.

    It’s not a fatal error, so that’s a good thing. If you’re getting a lot of these errors, please check your orders and ensure the billing name is filled out correctly. If you’re able to duplicate without modifying the database directly, please advise.

    Thanks,

    Ronald Huereca

    Thread Starter tonygao

    (@tonygao)

    It seems the error happen on user(member)’s name that only has one word(first name)

    Plugin Author Andrew Lima

    (@andrewza)

    Thank you for the feedback @tonygao we are going to try and replicate this issue further and add it to our development schedule.

    For now, you may be able to disable your WP_DEBUG constant to stop this warning from appearing as it should not cause any functionality issues. We do strive to resolve all warnings and errors as we develop and improve Paid Memberships Pro and any of our Add Ons.

    Thank you for understanding. We will revert back as soon as we possibly can.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There is an error’ is closed to new replies.