Search
Other Extension Manager questions
Forum

Updated J4 version causes 500 error

Randy Garbin's Avatar Randy Garbin
This is one of two problems I'm so far having related to migrating a site from J3 to J4. I'll start with this one.

When I try to install, either over the original version migrated from J3 or as a fresh install in J4, I see the following 500 error:
Class "RegularLabs\Library\Parameters" not found
.../administrator/components/com_regularlabsmanager/src/Model/MainModel.php:48
43         if ($is_modal)
44         {
45             $this->context .= '_modal';
46         }
47 
48         $this->config = RL_Parameters::getComponent('regularlabsmanager');
49     }
50 
51     public function getItems($refresh = false)
52     {
53         return ExtensionsHelper::get();

I'm testing the upgrade on a local staging server using MAMP and PHP8.

Thanks.

Randy
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Randy Garbin's Avatar Randy Garbin
Still showing an errr 500
Class "RegularLabs\Library\Parameters" not found
.../administrator/components/com_regularlabsmanager/src/Model/MainModel.php:48
43         if ($is_modal)
44         {
45             $this->context .= '_modal';
46         }
47 
48         $this->config = RL_Parameters::getComponent('regularlabsmanager');
49     }
50 
51     public function getItems($refresh = false)
52     {
53         return ExtensionsHelper::get();
Peter van Westen's Avatar Peter van Westen ADMIN
Try deleting these folders:
/plugins/system/regularlabs
/libraries/regularlabs
(You will get other errors now).

Then reinstall…
Please post a rating at the Joomla! Extensions Directory
Randy Garbin's Avatar Randy Garbin
That worked! Thank you.

However, now that I have Advanced Module Manager installed and can access it, the conditions are not applying. I've had to go back to using the menu assignments, but there are some modules that need to be set to appear under other conditions.
Peter van Westen's Avatar Peter van Westen ADMIN
Are the conditions showing up in the module?
Not sure why they would not work.
Maybe a conflict with the template you are using...
Please post a rating at the Joomla! Extensions Directory
Randy Garbin's Avatar Randy Garbin
I'm using Helix with Pagebuilder. This all worked fine under J3. And yes, the conditions are showing up correctly.
Peter van Westen's Avatar Peter van Westen ADMIN
Yeah, Pagebuilder can cause issues.
J3 has some different internals that J4.
And Pagebuilder could be working differently too.

See if changing system plugin ordering fixes anything. But I don't expect any change with that.

If not, probably best to ask the Pagebuilder devs about this.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in