I was experimenting with the Corolla theme and I received these notices and a warning. I am curious what does it mean? Thank you.
Typephp DateWednesday, April 25, 2012 - 06:35 Userjudikins Locationhttp://localhost:8888/drupal/?q=lt-json/save-update/9905007674f97fd8063676 Referrerhttp://localhost:8888/drupal/ MessageWarning: Invalid argument supplied for foreach() in retheme_objects() (line 891 of /Applications/MAMP/htdocs/drupal/sites/all/modules/livethemer/livethemer_inspector.module). Severitywarning Hostname::1 Operations
Typephp DateWednesday, April 25, 2012 - 06:37 Userjudikins Locationhttp://localhost:8888/drupal/?q=admin/appearance/settings/corolla&render... Referrerhttp://localhost:8888/drupal/?q=admin%2Fappearance%2Fsettings%2Fcorolla&... MessageNotice: Undefined variable: file_path in get_settings_options() (line 395 of /Applications/MAMP/htdocs/drupal/sites/all/modules/livethemer/livethemer.module). Severitynotice Hostname::1 Operations
| Comment | File | Size | Author |
|---|
Comments
Comment #1
judikins commentedHi There. FYI, I also tried to use Garland and Zen themes and the "notice" is repeated for line 393, 394, 395 livethemer.module. I'm hoping it's a quick answer for you. Just trying to learn why these warnings and notices appear. Thank you.
Comment #2
taslett commentedHi judikins,
Sorry it has taken so long to get back to you.
The function around 393, 394, 395 in livethemer.module is to do with generating the select list of settings files found at admin/appearance/settings/corolla or admin/config/livethemer/livethemer
I have installed corolla and didn't get the error and can see the list of settings files. I have a few settings files from playing around, I wonder now if you get the error due to a file permission issue or just because we fail to find settings files.
Were you able to select a settings file? Or was the list empty?
is it possible you have the files in an unreadable directory.
Could you please provide a screenshot or description of the directory structure you are using.
Comment #3
judikins commentedThank you for the suggestions. I have attached screen shots of what I think you are requesting. I did not see different settings files at the path you suggested but I was able to select the "empty-settings-file" in the second screenshot. Please let me know if you need other information to help with these warnings. Thank You!
Screenshot of File folders
Screenshot Settings Page
Comment #4
taslett commentedHi judikins,
Thanks for attaching the images.
It looks like you would get the same errors with livethemer_base as your theme.
Would it be possible to arrange access to your site and server to see what is going on?
Comment #5
taslett commentedHi judikins,
We have just fixed that issue and a are making a release.
Comment #6
judikins commentedYea!!! The warning is gone. Thank you!