Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 15d 07h 20m 46s
Claim 50% off
Staff replied SP Page Builder

Error: Class "JoomShaper\SPPageBuilder\DynamicContent\Services\CollectionsService" not found

Asked by 71Media 1 year ago Last activity 1 year ago

Hello,

I get this error "Class "JoomShaper\SPPageBuilder\DynamicContent\Services\CollectionsService" not found" on the pages where I use SP Pagebuilder.

I got this error when I downgraded to version 5.4.6 after first updated to 5.5.0 and a day later to 5.5.1
I went back to version 5.4.6 because version 5.5.1 resulted in tons of 500 errors on my site. I have 4 CPU and in no time it was all used by SP pagebuilder (and my template?) and my users got 500 errors when visiting my pages.

After investigation with my hosting we noticed that SPpagebuilder is doing this for some reason and my top requested urls are:

246837 times > /templates/shaper_soccer/css/bootstrap-legacy/variables
147107 times > /templates/shaper_soccer/css/bootstrap-legacy/mixins
90722 times > /templates/shaper_soccer/css/bootstrap-legacy/forms.less
79155 times > /templates/shaper_soccer/css/bootstrap-legacy/wells.less
69497 times > /templates/shaper_soccer/css/bootstrap-legacy/accordion.less

So before fixing this 500 error I needed to go back to the SP version where I did not encounter any problems. This was version 5.4.6.

But when installing that version it looks like not all files are deleted and now, for some reason, the extension is looking for the CollectionsService.php from version 5.5.0. ?!?

I fixed this error by totaly deleting SP Page builder and then install version 5.4.6 again. But this still leaves me with the inital problem that an update to 5.5.x will result in way to much CPU usage and thus the 500 error for my visitors.

I am on Joomla 4.4.10 with php 8.2.27

12 replies

Ofi Khan Staff

Hello Dutch Powerhouse,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial. I will check it on my localhost. I have tried to take a backup. But the backup cannot be extracted or unzipped.

Best regards

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. I have downloaded your site backup and installed the latest version Page Builder. It works fine on my end. Please check this backup.

How to run akeeba backup.

https://drive.google.com/file/d/16fMwHR2ZAa3yctnP5rn7zm6YlwB7ijQj/view

Best regards,

Toufiqur Rahman (Team Lead, Support)

71Media Asked this

Hi Toufiq,

You say it works fine on your end but what do you mean by that? No countless request to the above template files (that don't exist) in your error log? No exceptional high CPU after the update due to these countless requests.

Which hosting you use for this test and can I see your error log?

Toufiq Senior Staff

Check now your dev site and let me know the update. Thanks

71Media Asked this

Hi Toufiq, not sure what you did but I made a new copy of the development site. Then first updated to 5.5.0 and then to 5.5.1 (just like I did on production site) and same problem still occurs. CPU goes sky high due to the amount of request from the site itself. I see the same "file does not exist" errors.

Please check the server error log in the hidden content part for more details.

Atick Eashrak Shuvo Staff

Apologies for the inconvenience. Could you please confirm whether you have created a completely new development site or if you are working with the previous one? If it is a new one, kindly provide the administrator access.

71Media Asked this

I can confirm that I made a new copy of the development site. You can still use the same administrator access. (see hidden content in my first forumpost)

Toufiq Senior Staff

Please check now. Thanks

71Media Asked this
1 year ago · edited

Ok thanks, I first updated to version 5.5.1 and then replaced those two files. The errors about the .less files are now gone from my error log. CPU not sure yet. I will closely monitor this the coming days and let you know.

But due to the update to 5.5.1 I now have the same problem with the redirects as described in https://www.joomshaper.com/forum/question/37745

So one problem solved and a new one arised....

Toufiq Senior Staff

Can you share a screencast video about the redirects issue?

71Media Asked this

Yes sure. See hidden content part for a link.

Toufiq Senior Staff

Yes, We have solved this issue. We will release it soon. Thanks

David Soens

Hello, I have the same issue on a client site. I updated SP Page Builder from 5.4.4 to 5.5.2 and got the error: Class "JoomShaper\SPPageBuilder\DynamicContent\Services\CollectionsService" not found on all pages. Then I restored the site to before the update. Now it is running 5.4.4 again however it still has the error and strangely, the components/com_sppagebuilder/addons/dynamic_content_collection/admin.php file is still there dated after the restoration.

Toufiq Senior Staff

Please check now. Thanks

71Media Asked this

For some reason not all files are restored or overwritten when you downgrade after an update. I had the same experience. At one point I uninstalled SP Page Builder completely from my site.

Then installed the SP Page Builder version where I had no issues. In that way you don't have to deal with old/new files that causes these errors. This should work for you as well.

But be sure to make a backup or first try it this on your development site. Also you can export your SP Page Builder MySQL database to make sure you don't loose any pages/modules you made with SP Page Builder. Later you can import those again if needed.

Log in to reply.