{"action":"created","issue":{"url":"https://api.github.com/repos/roots/sage/issues/1133","labels_url":"https://api.github.com/repos/roots/sage/issues/1133/labels{/name}","comments_url":"https://api.github.com/repos/roots/sage/issues/1133/comments","events_url":"https://api.github.com/repos/roots/sage/issues/1133/events","html_url":"https://github.com/roots/sage/issues/1133","id":40687247,"number":1133,"title":"Error locating","user":{"login":"alexandrule","id":2233281,"avatar_url":"https://avatars.githubusercontent.com/u/2233281?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrule","html_url":"https://github.com/alexandrule","followers_url":"https://api.github.com/users/alexandrule/followers","following_url":"https://api.github.com/users/alexandrule/following{/other_user}","gists_url":"https://api.github.com/users/alexandrule/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrule/subscriptions","organizations_url":"https://api.github.com/users/alexandrule/orgs","repos_url":"https://api.github.com/users/alexandrule/repos","events_url":"https://api.github.com/users/alexandrule/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrule/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-20T11:26:05Z","updated_at":"2015-03-15T14:09:23Z","closed_at":"2014-08-21T11:51:00Z","body":"I did an installation how is written in Documentation, but I receive this error:\r\n\r\n<code>\r\n2014/08/20 13:51:08 [error] 24767#0: *54 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Error locating lib/utils.php for inclusion in /home/alex/work/wordpress/wp-content/themes/newtheme/functions.php on line 29\" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"localhost\"\r\n</code>\r\n\r\nfunctions.php\r\n\r\n```php\r\n<?php\r\n/**\r\n * Roots includes\r\n *\r\n * The $roots_includes array determines the code library included in your theme.\r\n * Add or remove files to the array as needed. Supports child theme overrides.\r\n *\r\n * Please note that missing files will produce a fatal error.\r\n *\r\n * @link https://github.com/roots/roots/pull/1042\r\n */\r\n$roots_includes = array(\r\n  'lib/utils.php',           // Utility functions\r\n  'lib/init.php',            // Initial theme setup and constants\r\n  'lib/wrapper.php',         // Theme wrapper class\r\n  'lib/sidebar.php',         // Sidebar class\r\n  'lib/config.php',          // Configuration\r\n  'lib/activation.php',      // Theme activation\r\n  'lib/titles.php',          // Page titles\r\n  'lib/nav.php',             // Custom nav modifications\r\n  'lib/gallery.php',         // Custom [gallery] modifications\r\n  'lib/comments.php',        // Custom comments modifications\r\n  'lib/scripts.php',         // Scripts and stylesheets\r\n  'lib/extras.php',          // Custom functions\r\n);\r\n\r\nforeach ($roots_includes as $file) {\r\n  if (!$filepath = locate_template($file)) {\r\n    trigger_error(sprintf(__('Error locating %s for inclusion', 'roots'), $file), E_USER_ERROR);\r\n  }\r\n\r\n  require_once $filepath;\r\n}\r\nunset($file, $filepath);\r\n```\r\n\r\nThis happens only when is active my new theme."},"comment":{"url":"https://api.github.com/repos/roots/sage/issues/comments/81019832","html_url":"https://github.com/roots/sage/issues/1133#issuecomment-81019832","issue_url":"https://api.github.com/repos/roots/sage/issues/1133","id":81019832,"user":{"login":"JulienMelissas","id":2278221,"avatar_url":"https://avatars.githubusercontent.com/u/2278221?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienMelissas","html_url":"https://github.com/JulienMelissas","followers_url":"https://api.github.com/users/JulienMelissas/followers","following_url":"https://api.github.com/users/JulienMelissas/following{/other_user}","gists_url":"https://api.github.com/users/JulienMelissas/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienMelissas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienMelissas/subscriptions","organizations_url":"https://api.github.com/users/JulienMelissas/orgs","repos_url":"https://api.github.com/users/JulienMelissas/repos","events_url":"https://api.github.com/users/JulienMelissas/events{/privacy}","received_events_url":"https://api.github.com/users/JulienMelissas/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T14:09:23Z","updated_at":"2015-03-15T14:09:23Z","body":"@Phalconline - if you're on WP Engine you need to first make sure your server is running php 5.4 or greater. By default they're still on 5.3.*, but you can request a server with PHP 5.5\r\n\r\nIf that doesn't work, please go our [Discourse](https://discourse.roots.io/) for more troubleshooting as this isn't a bug."}}