• Hi,

    The BuddyPress for LearnDash plugin is causing a PHP notice in our install. I am able to apply a fix however it will be overridden during an update so would be great to get an official one.

    Installation details:
    Wordpress: 4.9.1
    Theme: TwentySeventeen 1.4
    Buddypress 2.9.2
    BuddyPress for LearnDash: 1.2.3
    LearnDash LMS 2.5.2

    (no other plugins)

    ( ! ) Notice: Trying to get property of non-object in site_path/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 534

    Call Stack
    # Time Memory Function Location
    1 0.1190 241560 {main}( ) …/index.php:0
    2 0.1196 244368 require( ‘site_path/wp-blog-header.php’ ) …/index.php:17
    3 1.3791 52736608 require_once( ‘site_path/wp-includes/template-loader.php’ ) …/wp-blog-header.php:19
    4 1.3791 52736656 do_action( ) …/template-loader.php:12
    5 1.3791 52737328 WP_Hook->do_action( ) …/plugin.php:453
    6 1.3791 52737424 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    7 1.3842 52937576 call_user_func_array:{site_path/wp-includes/class-wp-hook.php:286} ( ) …/class-wp-hook.php:286
    8 1.3842 52937944 bp_template_redirect( ) …/class-wp-hook.php:286
    9 1.3842 52938032 do_action( ) …/bp-core-dependency.php:399
    10 1.3842 52938728 WP_Hook->do_action( ) …/plugin.php:453
    11 1.3842 52938824 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    12 1.3980 53008896 call_user_func_array:{site_path/wp-includes/class-wp-hook.php:286} ( ) …/class-wp-hook.php:286
    13 1.3980 53009320 bp_learndash_redirect_group_course_tab( ) …/class-wp-hook.php:286
    14 1.3980 53009376 bp_get_group_id( ) …/bp-learndash-courses.php:69

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hi there @sjregan,

    Thanks so much for sending this report!

    So I tested it on our test site and I could reproduce the issue you outlined. I will open an internal bugticket for this so our developers can take a look at it and develop a fix.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugins causes PHP Notice – Trying to get property of non-object’ is closed to new replies.