{"action":"closed","issue":{"url":"https://api.github.com/repos/gravityview/GravityView/issues/1265","repository_url":"https://api.github.com/repos/gravityview/GravityView","labels_url":"https://api.github.com/repos/gravityview/GravityView/issues/1265/labels{/name}","comments_url":"https://api.github.com/repos/gravityview/GravityView/issues/1265/comments","events_url":"https://api.github.com/repos/gravityview/GravityView/issues/1265/events","html_url":"https://github.com/gravityview/GravityView/issues/1265","id":400027833,"node_id":"MDU6SXNzdWU0MDAwMjc4MzM=","number":1265,"title":"Fatal Error and Notices when trying to use a custom table template","user":{"login":"rafaehlers","id":1222472,"node_id":"MDQ6VXNlcjEyMjI0NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1222472?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaehlers","html_url":"https://github.com/rafaehlers","followers_url":"https://api.github.com/users/rafaehlers/followers","following_url":"https://api.github.com/users/rafaehlers/following{/other_user}","gists_url":"https://api.github.com/users/rafaehlers/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaehlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaehlers/subscriptions","organizations_url":"https://api.github.com/users/rafaehlers/orgs","repos_url":"https://api.github.com/users/rafaehlers/repos","events_url":"https://api.github.com/users/rafaehlers/events{/privacy}","received_events_url":"https://api.github.com/users/rafaehlers/received_events","type":"User","site_admin":false},"labels":[{"id":74774743,"node_id":"MDU6TGFiZWw3NDc3NDc0Mw==","url":"https://api.github.com/repos/gravityview/GravityView/labels/Bug","name":"Bug","color":"ee3127","default":false},{"id":394003433,"node_id":"MDU6TGFiZWwzOTQwMDM0MzM=","url":"https://api.github.com/repos/gravityview/GravityView/labels/Core:%20Templates","name":"Core: Templates","color":"4d9bbe","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-01-16T22:32:39Z","updated_at":"2019-03-12T15:20:50Z","closed_at":"2019-03-12T15:20:49Z","author_association":"NONE","body":"When I moved those 3 files (table-body.php, table-header.php, and table-footer.php) to a /gravityview/ folder inside my current theme these messages showed up:\n\n```\nNotice: Undefined variable: gravityview in C:\\MAMP\\htdocs\\gravity\\wp-content\\themes\\twentytwelve\\gravityview\\table-header.php on line 12\n\nNotice: Undefined variable: gravityview in C:\\MAMP\\htdocs\\gravity\\wp-content\\themes\\twentytwelve\\gravityview\\table-header.php on line 14\n\nNotice: Trying to get property of non-object in C:\\MAMP\\htdocs\\gravity\\wp-content\\themes\\twentytwelve\\gravityview\\table-header.php on line 14\n\nFatal error: Uncaught Error: Call to a member function the_columns() on null in C:\\MAMP\\htdocs\\gravity\\wp-content\\themes\\twentytwelve\\gravityview\\table-header.php:14 Stack trace: #0 C:\\MAMP\\htdocs\\gravity\\wp-content\\plugins\\gravityview\\includes\\class-template.php(963): include() #1 C:\\MAMP\\htdocs\\gravity\\wp-content\\plugins\\gravityview\\future\\includes\\class-gv-template-legacy-override.php(222): GravityView_View->_include('C:\\\\MAMP\\\\htdocs\\\\...') #2 C:\\MAMP\\htdocs\\gravity\\wp-content\\plugins\\gravityview\\future\\includes\\class-gv-renderer-view.php(89): GV\\Legacy_Override_Template->render('table') #3 C:\\MAMP\\htdocs\\gravity\\wp-content\\plugins\\gravityview\\future\\includes\\class-gv-view.php(376): GV\\View_Renderer->render(Object(GV\\View), Object(GV\\Frontend_Request)) #4 C:\\MAMP\\htdocs\\gravity\\wp-includes\\class-wp-hook.php(286): GV\\View::content('') #5 C:\\MAMP\\htdocs\\gravity\\wp-includes\\plugin.php(203): WP_Hook->apply_filters('', Array) #6 C:\\MAMP\\htdocs\\gravity\\wp-includes\\post-template.php(240): apply_filters('the_content', '') #7 in C:\\MAMP\\htdocs\\gravity\\wp-content\\themes\\twentytwelve\\gravityview\\table-header.php on line 14\n```\n\nTested with GV 2.2.4\n\n┆Issue is synchronized with this [Asana task](https://app.asana.com/0/995529792029955/995532870583490)\n"}}
{"actor":{"display_login":"soulseekah"}}