• Resolved vaxovgroup

    (@vaxovgroup)


    Hello,
    We are using the lms plugin and when we raise the pmpro membership level on the wp-admin/user-edit.php page and press the save button, the lms pages below give an error.
    How can we handle this?

    Error messages:

    Fatal error: Uncaught Error: Attempt to assign property “course_number” on bool in /home/site/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/subscriptions.php:240 Stack trace: #0 /home/site/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/subscriptions.php(478): STM_LMS_Subscriptions::user_subscriptions(true, 1878) #1 /home/site/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/subscriptions.php(472): STM_LMS_Subscriptions::remove_overquoted(1878) #2 /home/ site/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/subscriptions.php(563): STM_LMS_Subscriptions::check_user_subscription_courses(1878, NULL) #3 /home/site/public_html /wp-includes/class-wp-hook.php(308): STM_LMS_Subscriptions::before_subscription_change(‘6’, 1878, Array, NULL) #4 /home/site/public_html/wp-includes/class-wp-hook. php(332): WP_Hook->apply_filters( ”, Array) #5 /home/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/site/public_html/wp-content/plugins/paid-memberships -pro/includes/functions.php(1060): do_action(‘pmpro_before_ch…’, ‘6’, 1878, Array, NULL) #7 /home/site/public_html/wp-content/plugins/paid-memberships- pro/includes/profile.php(303): pmpro_changeMembershipLevel(‘6’, 1878, ‘admin_changed’) #8 /home/site/public_html/wp-includes/class-wp-hook.php(308): pmpro_membership_level_profile_fields_update(1878 ) #9 /home/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /home/site/public_html/wp-includes/plugin.php (517): WP_Hook->do_action(Array) #11 /home/site/public_html/wp-admin/user-edit.php(155): do_action(‘edit_user_profi…’, 1878) #12 {main} thrown in /home/site/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/subscriptions.php on line 240

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello, @vaxovgroup

    This case arises from the version of PHP. Please make sure you have the most stable version of PHP 7.4 installed on your server. After configuring the PHP version please check this case again.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘User membership error with Lms and Pmpro’ is closed to new replies.