Skip to:

Course Group Error

  • lovechard



    WP Version: 4.9

    BP Version: 2.9.2

    BP for LD Version: 1.2.3

    Hope you are having a great day! I just created a course group for my latest course in LearnDash and following error showed on my screen:

    Warning: Illegal offset type in isset or empty in …/wp-includes/pomo/plural-forms.php on line 240

    Warning: Illegal offset type in …/wp-includes/pomo/plural-forms.php on line 243

    Screen Shot Image:

    I’ve since noticed that I’m receiving the same error on ALL of my course groups. Since I use the Boss Theme, LearnDash for courses, and BuddyPress for social… I’m not certain which service I should seek for help.

    Please let me know if this is something you can help with fixing or if I should be contacting one of the other guys.

    Thank you for your support!

Viewing 8 replies - 1 through 8 (of 8 total)

  • shanebp


    I believe those warnings are related to fetching the plural form of a number.

    Do you have debug turned on in wp-config.php ?
    If the only issue is the Warnings, turning off debug should make them disappear.

    If they still appear or there are related issues, you should open a ticket at LearnDash.

    But first, to see if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the warnings persist.



    You can replace this line from your wp-config.php file:
    define(‘WP_DEBUG’, false);
    with this:
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);

    At least it helped me.



    Hi @lovechard, have you been able to find a solution to this problem? If so, please do notify the community of any fixes to this issue. Thank you!



    I have the exact same issue, using learndash and buddypress on buddyboss social learner theme. Site:

    Changing the theme on the local version of the site seams to fix the problem with the warning:illeagle offset

    Did anyone ever find a solution to this problem?

    One other thing I notice is the forum associated with the Group is not displayed with all the other forums from buddypress…..



    Having exactly the same issue with Social Learner. The theme seems to have a lot of smaller bugs…

    Haven’t found a proper solution for this bug.



    Location- we need this so that we can use this feature to filter posts/pictures based on country search. i want plugin plz help me



    List of countries- this feature will enable to filter post based on country preferences. This will enable to gather specific information based on the countries users are planning to travel or are already travelling.

    please tell me



    To resolve this issue, Open and edit file at /plugins/boss-learndash/templates/learndash-buddypress/buddypress-group-single.php

    Replace line #116 with the next line.

    printf( _n( '%s '.LearnDash_Custom_Label::get_label( 'lesson' ), '%s '.LearnDash_Custom_Label::get_label( 'lessons' ), count($total_lessons), 'boss-learndash' ), count($total_lessons) );

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