Spica Posted March 18, 2015 Share Posted March 18, 2015 Fatal error: Call to a member function attr() on a non-object in /Applications/MAMP/htdocs/ProcessWire-dev/wire/modules/Process/ProcessTemplate/ProcessTemplate.module on line 1014 After some configurations I have this error when I want to open/edit a template. I have no idea at which point of my configuration this was messed up. Does anyone have one? Link to comment Share on other sites More sharing options...
adrian Posted March 18, 2015 Share Posted March 18, 2015 What version are you running? It looks like one of the dev versions given that in master there is no attr call on line 1014. The error relates to the newish InputfieldIcon so I think maybe you have a version that had a bug where this wasn't installed when called. Running Modules > Refresh should sort it out. For reference, here are two Github issues about it: https://github.com/ryancramerdesign/ProcessWire/issues/891 https://github.com/ryancramerdesign/ProcessWire/issues/873 If you are running a dev version after this was meant to be fixed (which I suspect you might be based on the line number), can you please make a note on that Issue? 1 Link to comment Share on other sites More sharing options...
Spica Posted March 18, 2015 Author Share Posted March 18, 2015 A refresh solved it. Thanks 1 Link to comment Share on other sites More sharing options...
adrian Posted March 18, 2015 Share Posted March 18, 2015 Good to hear - it would still be great though to know what version of PW you are running, just in case the issue hasn't actually been fixed. Link to comment Share on other sites More sharing options...
Spica Posted March 18, 2015 Author Share Posted March 18, 2015 ProcessWire 2.5.21 dev 1 Link to comment Share on other sites More sharing options...
root Posted June 24, 2015 Share Posted June 24, 2015 Hello everybody, I'm running PW 2.6.0 and I had the same error. Then I updated to 2.6.1. The error remained. The solutions mentioned above do not work for me. I used SystemUpdater to update to version 10 again. In the log is see: 2015-06-24 18:34:38 Update #10: Initializing update2015-06-24 18:34:38 Update #10: Installed ProcessLogger and added: Setup > Logs2015-06-24 18:34:38 Update #10: Installed InputfieldIcon2015-06-24 18:34:38 Update #10: Completed!2015-06-24 18:40:30 Update #10: Initializing update2015-06-24 18:40:30 Update #10: Installed ProcessLogger and added: Setup > Logs2015-06-24 18:40:30 Update #10: Installed InputfieldIcon2015-06-24 18:40:30 Update #10: Completed! InputfieldIcon should be installed. In the database: mysql> select * from modules where class = "InputfieldIcon"; Empty set (0,00 sec) mysql> select count(id) from modules; +-----------+ | count(id) | +-----------+ | 107 | +-----------+ 1 row in set (0,00 sec) A module refresh does not install the module. The error remains all the time. What am I doing wrong? Link to comment Share on other sites More sharing options...
root Posted June 25, 2015 Share Posted June 25, 2015 I found the problem. The premissions for wire/modules/Inputfield/InputfieldIcon were not set correctly. Everything works again since I changed them manually. A warning or error in Processwire would be nice if a module is installed that is not readable by the webserver's user. Regards from Germany, Fred 1 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