Error Installing a Theme?

I tried to install a new theme via GRAV, and got an exception error as posted below.
I think am going to give up on GRAV, as it seems GRAV looks for a user apache, and expects
to find things in a different home, not much good when am using hiawatha web server.

Here is the exception, followed by the message generated, also does twig run when required
or does it have to be running before I start to install a theme.

Twig_Error_Runtime
COPY
An exception has been thrown during the rendering of a template (“Array to string conversion”) in “partials/themes-details.html.twig” at line 72

GRAV message follows,

Environment & details:

GET Data empty

POST Data empty

Files empty

Cookies

grav-site-cbedded-admin “e7fdtote91laq486pjt4hlj4j5”

grav-site-cbedded “81gi1o2r8mq280g786o6i03t44”

Session

user User {▼
#gettersVariable: “items”
#items: array:9 [:arrow_forward:]
#blueprints: Blueprint {#1 :arrow_forward:}
#storage: CompiledYamlFile {:arrow_forward:}
}

expert false

messages Message {▼
#messages: []
}

Server/Request Data

USER “apache”

HOME “/usr/share/httpd”

FCGI_ROLE “RESPONDER”

GATEWAY_INTERFACE “CGI/1.1”

REQUEST_METHOD “GET”

REQUEST_URI “/admin/themes/aerial”

SCRIPT_NAME “/index.php”

SCRIPT_FILENAME “/var/www/explorer/index.php”

DOCUMENT_ROOT “/var/www/explorer”

REMOTE_ADDR “217.114.169.253”

SERVER_PORT “80”

SERVER_NAME “www.explorer.clic.ie

SERVER_PROTOCOL “HTTP/1.1”

SERVER_SOFTWARE “Hiawatha v10.0”

SERVER_ADDR “0.0.0.0”

REDIRECT_STATUS “200”

HTTP_ACCEPT “text/html, application/xhtml+xml, /

HTTP_REFERER “http://explorer.clic.ie/admin/themes/install

HTTP_ACCEPT_LANGUAGE “en-IE”

HTTP_USER_AGENT “Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MAARJS; rv:11.0) like Gecko”

HTTP_ACCEPT_ENCODING “gzip, deflate”

HTTP_HOST “explorer.clic.ie

HTTP_COOKIE “grav-site-cbedded-admin=e7fdtote91laq486pjt4hlj4j5; grav-site-cbedded=81gi1o2r8mq280g786o6i03t44”

HTTP_CONNECTION “keep-alive”

HTTP_DNT “1”

HTTP_SCHEME “http”

HTTPS “off”

HTTP_RETURN_CODE “200”

PHP_SELF “/index.php”

REQUEST_TIME_FLOAT 1465339807.6726

REQUEST_TIME 1465339807

Environment Variables empty

Registered Handlers

  1. Whoops\Handler\PrettyPageHandler

  2. Whoops\Handler\CallbackHandler

Regards, john

Hi, I’ve seen this error in some issues before, but was never been solved due to lack of repeatability. I think it has to be connected with your server settings. Since you are using Hiawatha, which is not officially supported by Grav and you posted several other problems here, there might be a misconfiguration left.

You need to wait for @rhukster or @flaviocopes here to answer. I only have experiences in Apache and I’m (although heavily active and contributing) not a Grav member or affiliated in any way to the Grav Team.

However as a first step you may try to use the antimatter theme instead and see, whether this message again pops up or not.

Looks like this is an issue fixed in Grav 1.1RC. Please use that release, as so many bugs were fixed since the last stable release. We’re going to release 1.1 stable very soon, and it’s a simple update from 1.1RC.