gmclelland Posted June 27, 2018 Share Posted June 27, 2018 For some reason on two of my sites, the module pages at mysite.com/processwire/module/ look like they are getting compiled. Also on another module config page "TemplateEngineTwig", I get the following: Does anyone know of anything I can check to prevent this from happening? I have tried clearing the compiled files button on the modules page and I have manually deleted the contents of the site/assets/cache/FileCompiler/ folder. I'm running the latest dev version of Processwire 3.0.106, but I have noticed this with older versions as well. No problems with the frontend of the website. Link to comment Share on other sites More sharing options...
Robin S Posted June 28, 2018 Share Posted June 28, 2018 It's FileCompiler getting confused by strings containing the name of API variables next to parentheses. GitHub issue: https://github.com/processwire/processwire-issues/issues/98 A moment ago I was seeing the same issue as you for "File (for FormBuilder)", although after making a small edit to the module file (which triggered a recompile) the issue resolved and now I can't reproduce it again even after reverting to the original module file. I also can't reproduce the issue with "TemplateEngineTwig" so not sure what's going on exactly. Link to comment Share on other sites More sharing options...
gmclelland Posted June 28, 2018 Author Share Posted June 28, 2018 Many thanks Robin! I was able to add a php comment in the TemplateEngineTwig.module which forced a recompile. Now all the text on that module's config page appears correctly. However, I tried the same with FormBuilder module but couldn't get the text to correct on the modules page. Link to comment Share on other sites More sharing options...
gmclelland Posted June 28, 2018 Author Share Posted June 28, 2018 Strange... I tried making the same changes in production and on another site, but that didn't fix the TemplateEngingTwig module's config page. 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