Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Updating LMS - how to fix splmsupdater.php fatal error?

Featured Lock Resolved Issue
Hi there! We have been using SP LMS in Helix 3 since 2016 and we had many problems along the way, last one being a problem with LMS course purchase email confirmations ... I was not able to resolve it last year with Rifat, so we stopped development for a while considering even custom building the LMS site ...

Since the price of custom building LMS site is high, we decided to renew JoomShaper license a couple months ago and I finally had some time to setup another test site to see if I can update Helix 3, Page Builder and SP LMS to see if that would help and fix the problems. I manually updated Helix 3 (from v2.3 to 2.5.6) and Page Builder (from 2.5.4 to 3.4.1), but when I tried to apply SP LMS update (from 2.2. to 3.2), I got the following FATAL ERROR:

Fatal error: Cannot declare class plgSystemSplmsupdater, because the name is already in use in /home/pmexpert/public_html/IM-test-site/plugins/system/splmsupdater/splmsupdater.php on line 52

The site is down (front end and back end), it just shows that error ... you can see it for yourself here: http://im-test-site.instituteofmanagement.org/

Is that a common error and how can I fix this error and finish installing SP LMS update to try the new version?

The live site with old versions is here: https://www.instituteofmanagement.org/
I would like to update and test SP LMS on the test site first before I proceed to the live site ...

Please help me with this ASAP.
Thanks, Danijel

5 Answers

Danijel Marin

More than a month ago #Permalink
I see other user also reported similar fatal errors after updating SP LMS ... so, just for the record, we don't have SP Property installed, so I wonder if I should try solution someone mentioned here : https://www.joomshaper.com/forums/sp-lms-went-wrong-and-caused-site-crash ... although I don't think we have "another Splmsupdater plugin" on our site, either.

So, please let me know what you think.
Thanks, Danijel

Danijel Marin

More than a month ago #Permalink
OK, since there was no response, I applied the same fix as in above linked forum article ( changed the name of the "plgSystemSplmsupdater" class => "plgSystemSplmsupdater_" ) and it seems to have worked! :) I have no idea why, but it seems that you need to correct this issue for future updates of SP LMS!

So, I will now test functionality of SP LMS v3.2 and see if the problems we had with old version are fixed.
Regards, Danijel

Danijel Marin

More than a month ago #Permalink
Well, let me correct myself ... after sucessful SP LMS upgrade using the above "trick" I looked through plugins/system folder and I found "sppropertyupdater" folder even though I do not use SP Property component on the site!? Why is that?

Also, after preliminary testing of SP LMS 3.2 I see new problems in addition to the old ones:
1. I see that none of my settings from LMS 2.2 were transferred to 3.2 (for example how many courses in a row etc).
2. This is a big problem: When I am logged in and click on BUY NOW, that buttons changes to CHECKOUT and that's fine ... but when i click CHECKOUT, then inszead of getting to see what I have in shopping cart I get message: "Warning - Your cart is empty" ... so I am not even able to make a test purchase!?!
3. When SEARCHing for a course (on the front and back end), the search still functions with OR operand instead of AND (so, if I am searching Agile Expert Online I get all courses mentioning all 3 words instead of narrowing search)!! Can I change this anywhere in this version of SP LMS? I wrote about this back in 2017 so I really hope you added this option somewhere!

I will do some more testing, but I hope you will be able to help me with those basic problems ASAP!
Joomla has been also updated to the latest on this test site: https://im-test-site.instituteofmanagement.org/

Regards, Danijel

Danijel Marin

More than a month ago #Permalink
Update: even if you do not login/register you can test BUY NOW > CHECKOUT and instead of showing SHOP CART and message LOGIN to CHECKOUT (as in LMS 2.2 on instituteofmanagement.org), you will see "Warning - Your cart is empty" message.

Please help as soon as possible.
Thanks!

Danijel Marin

More than a month ago #Permalink
Anybody out there to help? Rifat? Toufiq? Anybody else?


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 152
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 85
Toufiq

Toufiq

Total Accepted Answers: 22
Al Mamun

Al Mamun

Total Accepted Answers: 3
Pavel

Pavel

Total Accepted Answers: 3

113

Templates

289309

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us