• Resolved icepicknz

    (@icepicknz)


    Tested with the example file (and replaced the subscription_plan_id , just hung with no error and a turning circle on the page… found the below in debug logs.

    I then exported 2 test users I had added and tried to import them, no issue.

    I then added users to the same file and it did the same thing.

    CSV file pasted to https://pastebin.com/k2GYCT4S

    [03-Jan-2025 03:05:39 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type PMS_Member as array in /var/www/xyz.nz/wp-content/plugins/paid-member-subscriptions/includes/admin/class-admin-import.php:191

    Stack trace:
    #0 /var/www/xyz.nz/wp-content/plugins/paid-member-subscriptions/includes/admin/class-admin-import.php(108): PMS_Submenu_Page_Import->handle_subscription()
    #1 /var/www/xyz.nz/wp-includes/class-wp-hook.php(324): PMS_Submenu_Page_Import->pms_do_ajax_import()
    #2 /var/www/xyz.nz/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /var/www/xyz.nz/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /var/www/xyz.nz/wp-admin/admin-ajax.php(192): do_action()
    #5 {main}
      thrown in /var/www/xyz.nz/wp-content/plugins/paid-member-subscriptions/includes/admin/class-admin-import.php on line 191
    • This topic was modified 4 months ago by icepicknz.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter icepicknz

    (@icepicknz)

    p.s. it works if I leave the subscription_plan_id as 1, when I say works, it adds all the users. it just doesnt like either of the two subscriptions I have added being 393 and 386

    we are a not for profit with less than 100 members that make less than $2000 p/a which goes to hosting fees and our accountant; then all work is done by volunteers for the community, so buying a pro license is unfortunately not an option for this specific entity

    • This reply was modified 4 months ago by icepicknz.
    Plugin Author Georgian Cocora

    (@raster02)

    Hello @icepicknz,

    Thank you for the details and the attached file, I’m going to investigate what’s happening and issue some fixes in the next version of the plugin.

    This feature is not something we only offer to our paid users, it just needs some more work it seems.

    Regards.

    Thread Starter icepicknz

    (@icepicknz)

    awesome thanks. I ended up just emailing out the link for people to signup, but it would be good to add existing members and send a magic link so they dont need to login, and add credit card details

    Plugin Author Georgian Cocora

    (@raster02)

    Hello @icepicknz,

    I can also confirm that I was able to replicate the issue that you reported here and fixed it.

    This will be part of the next update to the plugin which will be released sometime next week.

    Thank you for the report.

    Regards.

    Thread Starter icepicknz

    (@icepicknz)

    legend, thanks for letting me know I wasn’t going crazy 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.