Class "RegularLabs\Library\Document" not found

Search
Other Bug Reports questions
Forum

Class "RegularLabs\Library\Docu​ment" not found

Jordi's Avatar Jordi
Hi

Recurrent fatal error after updating from Joomla 4.2.6 to 4.2.7 or 4.2.8

Sourcerer is updated to v9.4.0.

Thanks for helping!
Peter van Westen's Avatar Peter van Westen ADMIN
Try emptying the /cache and /administrator/cache folders.
Please post a rating at the Joomla! Extensions Directory
Jordi's Avatar Jordi
After emptying cache's folders the update still dails. Same error.
Peter van Westen's Avatar Peter van Westen ADMIN
Try deleting these folders:
/plugins/system/regularlabs
/libraries/regularlabs

Then reinstall the latest version of the extension you installed.
Please post a rating at the Joomla! Extensions Directory
Jordi's Avatar Jordi
All folders commented were deleted. After installing Sourcerer The following message was displayed: "Class "RegularLabs\Library\Document" not found"

Anyway the site worked fine.

Then I updated Joomla to the last version, and it crashed again, same error message (Class "RegularLabs\Library\Document" not found)
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Jordi's Avatar Jordi
Can you send me a safe email adress?
Peter van Westen's Avatar Peter van Westen ADMIN
You can use the email address mentioned on:
regularlabs.com/contact

info AT this domain.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
I saw no errors on your site. Not on the frontend or in the administrator.
I installed the latest version of Sourcerer on your site. It took quite long to install, but finished without errors.
All seems fine.
Please post a rating at the Joomla! Extensions Directory
Jordi's Avatar Jordi
Same error after updating Joomla, something is wrong in this library?
Peter van Westen's Avatar Peter van Westen ADMIN
Joomla 4 uses namespaces, which get loaded through a ps4 namespace generated file (which is in your cache folder).
If you get that error, it seems like that file is not getting generated in time for the rest of the page to render.

Seeing how extremely long it took your server to install that latest version of Sourcerer I installed, I would guess the issue is on your server.
Either something weird and slow on the file server or something in your database.
Please post a rating at the Joomla! Extensions Directory
Jordi's Avatar Jordi
After uninstalling sourcerer Joomla's update works fine. But once updated, installing again sourcerer the system crashes.

Well, I give up, thanks for your time.
Peter van Westen's Avatar Peter van Westen ADMIN
Ok.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in