• Resolved nicolevlug

    (@nicolevlug)


    I have been having no end of trouble trying to create course pages…glitching up, not saving, modules moving around, pages disappearing.

    (Building site with Beaver Builder Theme and page builder)

    …..but I guess we can start with this – on page https://www.learn.greatphototutorials.net/course/free-cheat-sheets-and-guides:

    Fatal error: Uncaught Error: Call to a member function exists() on boolean in /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/llms.template.functions.php:1173 Stack trace: #0 /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/shortcodes/class.llms.shortcode.course.continue.button.php(42): lifterlms_course_continue_button(’11’) #1 /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/abstracts/abstract.llms.shortcode.course.element.php(78): LLMS_Shortcode_Course_Continue_Button->template_function() #2 /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/abstracts/abstract.llms.shortcode.php(181): LLMS_Shortcode_Course_Element->get_output() #3 /home/dh_xkcfjt/learn.greatphototutorials.net/wp-includes/shortcodes.php(345): LLMS_Shortcode->output(Array, ”, ‘lifterlms_cours…’) #4 [internal function]: do_shortcode_tag(Array) #5 /home/dh_xkcfjt/learn.greatphototutorials.net/wp-includes/shortcodes.ph in /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/llms.template.functions.php on line 1173

    Sucuri Site Scan: https://sitecheck.sucuri.net/results/www.learn.greatphototutorials.net

    Website Malware php-error-fatal-error?warning.script_error.11 https://www.learn.greatphototutorials.net/course/free-cheat-sheets-and-guides/ ( View Payload )
    Website Malware php-error-fatal-error?warning.script_error.11 https://www.learn.greatphototutorials.net/course/free-cheat-sheets-and-guides/ title=Free Cheat Sheets and Guides tabindex= ( View Payload )
    Website Malware php-error-fatal-error?warning.script_error.11 https://www.learn.greatphototutorials.net/course/photography-basics/ ( View Payload )
    Website Malware php-error-fatal-error?warning.script_error.11 https://www.learn.greatphototutorials.net/course/photography-basics/ title=Photography Basics tabindex= ( View Payload )
    Site error detected. Details: http://sucuri.net/malware/php-error-fatal-error?warning.script_error.11
    <b>Fatal error</b>: Uncaught Error: Call to a member function exists() on boolean in /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/llms.template.functions.php:1173

    Sucuri Info: Description: This error happens when a PHP file has a fatal error and is causing the site to crash. It could be related to malware or just a programing error. Either way, it should be fixed because the site is down.

    Please Heeelllp!

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • @nicolevlug,

    Looks like you’re using custom BB modules from LifterLMS Labs to build a custom course page and we have a flaw in our logic… the problem here is that this particular module (the Course Continue Button) should NEVER be displayed to logged out users and the logic we have in there doesn’t accommodate checking the potential for a logged out user to be viewing this. We added this to beaver builder but we never display this code anywhere in LifterLMS itself unless the user is logged in.

    I’ve recorded this as a bug and will fix it in a future release but in the meantime you can very quickly fix this by changing the module settings in Beaver Builder to only display this module to Enrolled Students. You can see the settings description here: https://lifterlms.com/docs/lab-beaver-builder/#visibility

    Hope that helps and sorry about the oversight! It’s *not* malware for the record. Just a flaw in programming. Not that that’s good but at least you know you’re not compromised by a hacker or something!

    Take care,

    Thread Starter nicolevlug

    (@nicolevlug)

    Hi Thomas – thank you so much for sorting it out – I just thought the ‘continue course’ button would be a teaser for those seeing the page who were not enrolled – I assumed it would take them to a signup page or something… still learning ;-/

    Thread Starter nicolevlug

    (@nicolevlug)

    Hi again – I have reset the Course Continue Button on all pages and it is less glitchy but still not right and Sucuri is still picking it up and calling it malware….is there more to cleaning this code up?

    ps. apart from this issue I’m loving working with LifterLMS with Beaver Builder – love the look of my pages!

    Thread Starter nicolevlug

    (@nicolevlug)

    How can I get faster support????????

    Thread Starter nicolevlug

    (@nicolevlug)

    When I first posted in this forum there were 4 issues – now there are 6…
    More info below from: https://sitecheck.sucuri.net/results/www.learn.greatphototutorials.net

    DEFINITION FOR All ERRORS: php-error-fatal-error?warning.script_error.11

    URLS:

    https://www.learn.greatphototutorials.net/course/free-cheat-sheets-and-guides/

    https://www.learn.greatphototutorials.net/course/free-cheat-sheets-and-guides/ title=Free Cheat Sheets and Guides tabindex=

    https://www.learn.greatphototutorials.net/course/photography-basics/

    https://www.learn.greatphototutorials.net/course/photography-basics/ title=Photography Basics tabindex=

    https://www.learn.greatphototutorials.net/course/284/

    https://www.learn.greatphototutorials.net/course/284/ title=Photography With EASE tabindex=

    PAYLOAD FOR ALL ERRORS:
    Site error detected. Details: http://sucuri.net/malware/php-error-fatal-error?warning.script_error.11
    <b>Fatal error</b>: Uncaught Error: Call to a member function exists() on boolean in /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/llms.template.functions.php:1173

    Thanks – looking forward to sorting this out so I can get back to building the site…

    How can I get faster support????????

    If you want faster support, buy something from us and submit support tickets (rather than posting in the forums). Response time for paying users is much faster (generally within a business day). I get to the forums usually 3 – 4 times a week and do a generally acceptable job supporting all our users (free or otherwise) but this week we’re down a support rep this week (he’s moving) so I’ve been doing more on the ticketing desk and simply haven’t been able to get over here yet this week. My apologies.

    When I first posted in this forum there were 4 issues – now there are 6…

    This is the way software works… Yes, I realize it’s frustrating but hey, at least I’m not singling you out. I’m not responding to *anyone*!

    Fatal error: Uncaught Error: Call to a member function exists() on boolean in /home/dh_xkcfjt/learn.greatphototutorials.net/wp-content/plugins/lifterlms/includes/llms.template.functions.php:1173

    This is the *same* error you reported initially. I am sorry that I haven’t released an update for this yet but you do have a solution in place (use it the way it’s intended to be used). I apologize that it’s not clear out of the gate how to use it. And I’m sorry about that. Change takes time and I haven’t been able to write the code to fix this yet…

    In the meantime I assure you that if you setup your BB module outputting this shortcode to ONLY DISPLAY TO ENROLLED STUDENTS you can very quickly fix this by changing the module settings in Beaver Builder to only display this module to Enrolled Students. You can see the settings description here: https://lifterlms.com/docs/lab-beaver-builder/#visibility

    Thanks,

    Thread Starter nicolevlug

    (@nicolevlug)

    Thank you Thomas, having this issue freeze the project for a whole week has been stressful but I do understand how things can get backed up at times – all good. Have purchased to get the support. I did as you described in the sat response but the problem still exists…even deleted the button altogether! Yes I use BB extensively and am very familiar with the visibility setting…something more is wrong….would love to find it.

    See you on the other side!

    cheers,

    Issue was resolved via ticket support.

    Most of the issue seemed to stem from low system memory and Beaver Builder. There are errors being reported from within LifterLMS which will be resolved in a future update to LifterLMS Labs.

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

The topic ‘php-error-fatal-error?warning.script_error’ is closed to new replies.