{"action":"opened","issue":{"url":"https://api.github.com/repos/backdrop-contrib/views_bootstrap/issues/1","repository_url":"https://api.github.com/repos/backdrop-contrib/views_bootstrap","labels_url":"https://api.github.com/repos/backdrop-contrib/views_bootstrap/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/backdrop-contrib/views_bootstrap/issues/1/comments","events_url":"https://api.github.com/repos/backdrop-contrib/views_bootstrap/issues/1/events","html_url":"https://github.com/backdrop-contrib/views_bootstrap/issues/1","id":165928666,"number":1,"title":"Array to string conversion warning on grid style","user":{"login":"thekenshow","id":998832,"avatar_url":"https://avatars.githubusercontent.com/u/998832?v=3","gravatar_id":"","url":"https://api.github.com/users/thekenshow","html_url":"https://github.com/thekenshow","followers_url":"https://api.github.com/users/thekenshow/followers","following_url":"https://api.github.com/users/thekenshow/following{/other_user}","gists_url":"https://api.github.com/users/thekenshow/gists{/gist_id}","starred_url":"https://api.github.com/users/thekenshow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekenshow/subscriptions","organizations_url":"https://api.github.com/users/thekenshow/orgs","repos_url":"https://api.github.com/users/thekenshow/repos","events_url":"https://api.github.com/users/thekenshow/events{/privacy}","received_events_url":"https://api.github.com/users/thekenshow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-16T13:10:19Z","updated_at":"2016-07-16T13:10:19Z","closed_at":null,"body":"I was getting an `Array to string conversion in include()` error caused by a `print $classes` statement instead of a loop in the main container. Patch below.\r\n\r\n`\r\nFrom 1646283ed5cfe436efd539955c93af64e98ca2d2 Mon Sep 17 00:00:00 2001\r\nFrom: Ken Dow <me@kendow.com>\r\nDate: Sat, 16 Jul 2016 09:02:48 -0400\r\nSubject: [PATCH] Fix array conversion error on views_bootstrap grid.\r\n\r\n---\r\n .../views-bootstrap-grid-plugin-style.tpl.php      |    2 +-\r\n 1 files changed, 1 insertions(+), 1 deletions(-)\r\n\r\ndiff --git a/modules/contrib/views_bootstrap/views-bootstrap-grid-plugin-style.tpl.php b/modules/contrib/views_bootstrap/views-bootstrap-grid-plugin-style.tpl.php\r\nindex d6bea6c..11a7613 100755\r\n--- a/modules/contrib/views_bootstrap/views-bootstrap-grid-plugin-style.tpl.php\r\n+++ b/modules/contrib/views_bootstrap/views-bootstrap-grid-plugin-style.tpl.php\r\n@@ -18,7 +18,7 @@\r\n   <h3><?php print $title ?></h3>\r\n <?php endif ?>\r\n \r\n-<div id=\"views-bootstrap-grid-<?php print $id ?>\" class=\"<?php print $classes ?>\">\r\n+<div id=\"views-bootstrap-grid-<?php print $id ?>\" class=\"<?php foreach($classes as $key => $value) { print $value; } ?>\">\r\n   <?php if ($options['alignment'] == 'horizontal'): ?>\r\n \r\n     <?php foreach ($items as $row): ?>\r\n-- \r\n1.7.6\r\n`\r\n\r\n\r\n"}}
{"actor":{"display_login":"thekenshow"}}