abmcr Posted December 14, 2022 Share Posted December 14, 2022 I have a strange error in installation process. The module don't install itself : i attach the screenshot.. PW is a correct version but the module say "Less". What is broken? Thank you Link to comment Share on other sites More sharing options...
bernhard Posted December 14, 2022 Author Share Posted December 14, 2022 Nothing is broken. It just means that you don't have the required Less module installed. Link to comment Share on other sites More sharing options...
PWaddict Posted January 11 Share Posted January 11 Hi @bernhard installed Less module and then AdminStyleRock but when I submit the "Primary Color" field I'm getting the following fatal error: Fatal Error: Uncaught Error: Call to a member function forceRecompile() on null in C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php:168 #0 C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php(123): AdminStyleRock->iframe(Object(InputfieldWrapper)) #1 C:\laragon\www\mysite\wire\core\Modules.php(4112): AdminStyleRock->getModuleConfigInputfields(Object(InputfieldWrapper)) #2 C:\laragon\www\mysite\wire\core\Wire.php(419): Modules->___getModuleConfigInputfields('AdminStyleRock', Object(InputfieldForm)) #3 C:\laragon\www\mysite\wire\core\WireHooks.php(952): Wire->_callMethod('___getModuleCon...', Array) #4 C:\laragon\www\mysite\wire\core\Wire.php(484): WireHooks->runHooks(Object(Modules), 'getModuleConfig...', Array) #5 C:\laragon\www\mysite\wire\modules\Process\ProcessModule\ProcessModule.module(1680): Wire->__call('getModuleConfig.. (line 168 of C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php) Link to comment Share on other sites More sharing options...
bernhard Posted January 12 Author Share Posted January 12 Hey @PWaddict thx for the report. I had a look and you just need to install RockFrontend to make it work. Not sure if we really need that dependency just for this single feature but as a quickfix that is what you can do 😉 Link to comment Share on other sites More sharing options...
PWaddict Posted January 12 Share Posted January 12 3 hours ago, bernhard said: Hey @PWaddict thx for the report. I had a look and you just need to install RockFrontend to make it work. Not sure if we really need that dependency just for this single feature but as a quickfix that is what you can do 😉 Since it wasn't working, I've uninstalled AdminStyleRock and followed the instructions from here. You should mention somewhere on AdminStyleRock module or it's page that specific field to work requires the RockFrontend module to prevent confusion. 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 12 Author Share Posted January 12 Thanks for educating me on how I should develop my free and open source modules 🙂 I hope you don't mind that I went a different route and added a check if RockFrontend is installed or not. Everything works without RockFrontend now as of v.1.0.6 Thx for spotting and reporting that issue. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now