Stuck again

Permalink
I can't work for 30 minutes without throwing off some error that I cannot dig my way out. Version 5.7, is way too complex for me to offer. After struggling to copy and use the Elemental theme by moving it to applications/themes, which I finally got working, I then simply changed the name of the header stack from 'Elemental' to the name of the site and now have this wonderful error when trying to access any page with no further explanation:

An unexpected error occurred.
Invalid argument supplied for foreach()

I switched back to the original Elemental theme rather than the copy I was working on and same thing. I can do no further work. It seems crazy to me how buggy this is and how easy it is to send the program into a tailspin when doing something "simple". Also, if you are working on a copy of a theme how is it possible to screw up the original too?

All I am trying to do is change the word Elemental on the home page to the name of the site globally. Shouldn't that really be simple? I would love to read some documentation for this version. I appreciate all the help of the forum but wish I didn't need it. Any way to get going again without the need for a complete reinstall?

Debug info if someone understands it:
Whoops\Exception\ErrorException thrown with message "Invalid argument supplied for foreach()"
Stacktrace:
#17 Whoops\Exception\ErrorException in /home/sienacoo/public_html/concrete/src/Area/GlobalArea.php:67
#16 Whoops\Run:handleError in /home/sienacoo/public_html/concrete/src/Area/GlobalArea.php:67
#15 Concrete\Core\Area\GlobalArea:getAreaBlocks in /home/sienacoo/public_html/concrete/src/Area/Area.php:634
#14 Concrete\Core\Area\Area:load in /home/sienacoo/public_html/concrete/src/Area/Area.php:675
#13 Concrete\Core\Area\Area:display in /home/sienacoo/public_html/concrete/src/Area/GlobalArea.php:79
#12 Concrete\Core\Area\GlobalArea:display in /home/sienacoo/public_html/concrete/themes/elemental/elements/header.php:15
#11 include in /home/sienacoo/public_html/concrete/src/View/View.php:56
#10 Concrete\Core\View\View:inc in /home/sienacoo/public_html/concrete/themes/elemental/default.php:3
#9 include in /home/sienacoo/public_html/concrete/src/View/View.php:56
#8 Concrete\Core\View\View:inc in /home/sienacoo/public_html/concrete/themes/elemental/full.php:3
#7 include in /home/sienacoo/public_html/concrete/src/View/View.php:153
#6 Concrete\Core\View\View:renderViewContents in /home/sienacoo/public_html/concrete/src/View/AbstractView.php:123
#5 Concrete\Core\View\AbstractView:render in /home/sienacoo/public_html/concrete/src/Routing/DispatcherRouteCallback.php:20

1 Attachment

 
andrew replied on at Permalink Reply
andrew
It looks to me that this occurs if you rename a global area through the Dashboard. This isn't something you'll ever need to do (in fact, I've just committed a change that will remove this option on global area stacks.) You shouldn't have to do much with the global areas or stacks themselves – instead, you should be editing the blocks within the stacks themselves instead.

If you go into the Dashboard, find the global area that you renamed (probably "Header Site Title") and rename that stack back to "Header Site Title" it will hopefully fix your issue.
Willough replied on at Permalink Reply
Meant to thank you for this about a week ago. I was able to get back up and running but have since installed 5.7.1. I am finding it better right now to work a new site with 5.6.3.2 and using 5.7.1 to keep up on the development. I'm sure it will be good when the kinks are ironed out and there are add-ons and themes but for a site needed now it's just not ready.

Thank you.