Support » Plugin: LifterLMS » Invalid argument llms.functions.notice.php on line 107

  • Resolved MerriDennis

    (@merridennis)


    I’ve created a custom catalog page using a shortcode. The page appears just fine with the courses displayed. When I click on a course (which is supposed to redirect to a custom url), I get this error code:

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/lifterlms/includes/functions/llms.functions.notice.php on line 107

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/lifterlms/includes/functions/llms.functions.notice.php:107) in /home/customer/www/jillmhoven.com/public_html/wp-includes/pluggable.php on line 1265

    WordPress
    ——————————————-

    Home Url: https://jillmhoven.com
    Site Url: https://jillmhoven.com
    Login Url: https://jillmhoven.com/wp-login.php
    Version: 5.3.1
    Debug Mode: No
    Debug Log: No
    Debug Display: Yes
    Locale: en_US
    Multisite: No
    Page For Posts: Blog (#2931) [https://jillmhoven.com/blog/]
    Page On Front: Home (#2929) [https://jillmhoven.com/]
    Permalink Structure: /%postname%/
    Show On Front: page
    Wp Cron: Yes

    Settings
    ——————————————-

    Version: 3.37.6
    Db Version: 3.37.6
    Course Catalog: Not Set
    Membership Catalog: Membership Catalog (#2983) [https://jillmhoven.com/memberships/]
    Student Dashboard: Dashboard (#2985) [https://jillmhoven.com/dashboard/]
    Checkout Page: Purchase (#2984) [https://jillmhoven.com/purchase/]
    Course Catalog Per Page: 9
    Course Catalog Sorting: menu_order,ASC
    Membership Catalog Per Page: 9
    Membership Catalog Sorting: menu_order
    Site Membership: Not Set
    Courses Endpoint: my-courses
    Edit Endpoint: edit-account
    Lost Password Endpoint: lost-password
    Vouchers Endpoint: redeem-voucher
    Autogenerate Username: yes
    Password Strength Meter: yes
    Minimum Password Strength: strong
    Terms Required: no
    Terms Page: Not Set
    Checkout Names: required
    Checkout Address: required
    Checkout Phone: optional
    Checkout Email Confirmation: yes
    Open Registration: no
    Registration Names: required
    Registration Address: optional
    Registration Phone: hidden
    Registration Voucher: optional
    Registration Email Confirmation: no
    Account Names: required
    Account Address: required
    Account Phone: optional
    Account Email Confirmation: yes
    Confirmation Endpoint: confirm-payment
    Force Ssl Checkout: no
    Country: US
    Currency: USD
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Decimals: 2
    Trim Zero Decimals: no
    Recurring Payments: no
    Email From Address: jill@jillmhoven.com
    Email From Name: Jill M Hoven
    Email Footer Text:
    Email Header Image:
    Cert Bg Width: 800
    Cert Bg Height: 616
    Cert Legacy Compat: no

    Gateways
    ——————————————-

    Stripe: Enabled
    Stripe Test Mode: Disabled
    Stripe Logging: no
    Stripe Order: 1
    Manual: Enabled
    Manual Logging: no
    Manual Order: 1

    Server
    ——————————————-

    Mysql Version: 5.7.25
    Php Curl: Yes
    Php Default Timezone: UTC
    Php Fsockopen: Yes
    Php Max Input Vars: 3000
    Php Max Upload Size: 128 MB
    Php Memory Limit: 768M
    Php Post Max Size: 128M
    Php Soap: Yes
    Php Suhosin: No
    Php Time Limt: 120
    Php Version: 7.2.25
    Software: Apache
    Wp Memory Limit: 40M

    Browser
    ——————————————-

    HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36

    Theme
    ——————————————-

    Name: GeneratePress
    Version: 2.4.1
    Themeuri: https://generatepress.com
    Authoruri: https://tomusborne.com
    Template:
    Child Theme: No
    Llms Support: No

    Plugins
    ——————————————-

    AddToAny Share Buttons: 1.7.39
    Antispam Bee: 2.9.1
    Beaver Builder Plugin (Standard Version): 2.2.6.3
    Classic Editor: 1.5
    Code Snippets: 2.13.3
    Easy Forms for Mailchimp: 6.6.2
    GDPR Cookie Consent: 1.8.2
    Google Analytics Dashboard for WP (GADWP): 5.3.10
    GP Premium: 1.9.1
    Image Widget: 4.4.7
    Latest Tweets Widget: 1.1.4
    LifterLMS: 3.37.6
    LifterLMS Labs: 1.5.2
    LifterLMS Stripe Payment Gateway: 4.4.1
    Ninja Forms: 3.4.22
    Pin It Button On Image Hover And Post: 2.7.5
    Simple Social Icons: 3.0.1
    Smash Balloon Custom Facebook Feed: 2.12.2
    SMK Sidebar Generator: 3.3.1
    UpdraftPlus – Backup/Restore: 1.16.21
    Use Any Font: 5.3
    Yoast SEO: 12.7.1

    Integrations
    ——————————————-

    BbPress: No
    BuddyPress: No

    Template Overrides
    ——————————————-

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Rocco Aliberti

    (@d4z_c0nf)

    Hi @merridennis,
    thanks for reporting this.

    I’ve logged this issue on github and we’re working on a fix.

    Also, please note that on a production website that kind of issue (a PHP warning), should not generate the error you’re experiencing on your website.
    In fact the error generates because, on your website, PHP (and/or WordPress) is configured to display the PHP warnings and errors: this is not a good practices, error and warnings should never be displayed in production websites but only in development environments.
    You might want to contact your hosting provider asking for not displaying PHP warnings/errors.
    Hope this helps.

    If you would like to ask any further questions, since you have a license, you can submit a support ticket, as described in our documentation: https://lifterlms.com/docs/get-support/

    Best.

    Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @merridennis

    This issue has been resolved in LifterLMS 3.37.7

    Please have an update and let us know if you have any further issues or questions.

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