• Resolved melodyof1

    (@melodyof1)


    Hi
    I have the following error on my site following my update of LifterLMS on my site:

    Fatal error: Can’t use method return value in write context in /home/peomjkue/businessjourney365.com/wp-content/plugins/lifterlms/includes/models/model.llms.course.php on line 424

    Please help. How do i go about fixing this?

    Melodyof1

Viewing 10 replies - 1 through 10 (of 10 total)
  • I am also having this error.

    I did a reload of WP to 4.7.2 on my staging website (separate), and tried to install the plugin, I got the same error.

    Please Advise.

    Same thing for me too….I FTP’d into my account and changed the folder name for the LifterLMS plugin to get my site up and working again.

    • This reply was modified 7 years, 9 months ago by silatjunkie.

    I did not have this bug after update, but there is another – all students dissapeared in Student Managment from all courses.

    https://gyazo.com/9b4ea2d8dc85256f9b6cf735c2e50ca3

    • This reply was modified 7 years, 9 months ago by ksdenis.
    • This reply was modified 7 years, 9 months ago by ksdenis.

    I’ve got mine working again. Presumably without any of the updates…but…

    Using FTIP I went into /wwwroot/wp-content/plugins/lifterlms/includes/
    and uploaded my previous version 3.3.1 and uploaded the lifterlms/includes/models folder and wrote over the 3.4.0 version here: /wwwroot/wp-content/plugins/lifterlms/includes/models

    That has me up and running with whatever version it thinks I have….

    I was able to fix the issues. We have to have PHP 5.6 or newer.

    All students dissapeared in Student Managment from all courses – already fix this problem. Need to update templates folder ?? Thanks for this update!

    Yeah managed to sort out the problem by switching to php 5.6 in my C-Panel.
    My students didn’t disappear though… Lucky ??

    @melodyof1, @afterburn, @silatjunkie, @steynt

    Sorry for the issue here. I don’t test against these unsupported versions of PHP (and LifterLMS has *never* officially supported 5.5 and lower. It’s kind of limped along without too many issues but I guess we’re starting to not work at all there)

    Check our system requirements at: https://lifterlms.com/docs/minimum-system-requirements-lifterlms/

    @ksdenis,

    I’d recommend only overriding templates you’re actually overriding, it’ll be easier for you to maintain in the future.

    Same white screen of death issue here:

    Fatal error: Can’t use method return value in write context in /home2/dmbagg/public_html/wp-content/plugins/lifterlms/includes/models/model.llms.course.php on line 424

    I checked and I am running PHP 5.6.30 on my site, so the version of PHP you run has no bearing on the issue with your code. If I were you I would start by debugging line 424 in your model.llms.course.php file.

    You guys are really losing credibility as a scalable lms plugin with this kind of major coding error. 3 days since your update blew up my site and all you can do is try and blame the users PHP version? Fix the problem!

    @dmbagg,

    Can I see a copy of your LifterLMS System Report or the output of a phpinfo so I can investigate your specific issues further?

    Here’s a tutorial on using PHP Info: https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page

    Thanks so much and sorry you’re still having problems here,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error caused by LifterLMS plugin update’ is closed to new replies.