{"action":"created","issue":{"url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/1029","labels_url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/1029/comments","events_url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/1029/events","html_url":"https://github.com/thorsten/phpMyFAQ/issues/1029","id":86110535,"number":1029,"title":"Update from 2.8.22 to 2.9.0-alpha3 error","user":{"login":"RWarnecke","id":9133042,"avatar_url":"https://avatars.githubusercontent.com/u/9133042?v=3","gravatar_id":"","url":"https://api.github.com/users/RWarnecke","html_url":"https://github.com/RWarnecke","followers_url":"https://api.github.com/users/RWarnecke/followers","following_url":"https://api.github.com/users/RWarnecke/following{/other_user}","gists_url":"https://api.github.com/users/RWarnecke/gists{/gist_id}","starred_url":"https://api.github.com/users/RWarnecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWarnecke/subscriptions","organizations_url":"https://api.github.com/users/RWarnecke/orgs","repos_url":"https://api.github.com/users/RWarnecke/repos","events_url":"https://api.github.com/users/RWarnecke/events{/privacy}","received_events_url":"https://api.github.com/users/RWarnecke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thorsten/phpMyFAQ/labels/BLOCKER","name":"BLOCKER","color":"e10c02"},{"url":"https://api.github.com/repos/thorsten/phpMyFAQ/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"thorsten","id":45284,"avatar_url":"https://avatars.githubusercontent.com/u/45284?v=3","gravatar_id":"","url":"https://api.github.com/users/thorsten","html_url":"https://github.com/thorsten","followers_url":"https://api.github.com/users/thorsten/followers","following_url":"https://api.github.com/users/thorsten/following{/other_user}","gists_url":"https://api.github.com/users/thorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/thorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorsten/subscriptions","organizations_url":"https://api.github.com/users/thorsten/orgs","repos_url":"https://api.github.com/users/thorsten/repos","events_url":"https://api.github.com/users/thorsten/events{/privacy}","received_events_url":"https://api.github.com/users/thorsten/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/thorsten/phpMyFAQ/milestones/7","html_url":"https://github.com/thorsten/phpMyFAQ/milestones/2.9.0","labels_url":"https://api.github.com/repos/thorsten/phpMyFAQ/milestones/7/labels","id":404460,"number":7,"title":"2.9.0","description":"- add Bootstrap 3 support\r\n- add most wished feature requests\r\n- proper use of composer and grunt\r\n- code cleanup for 3.0","creator":{"login":"thorsten","id":45284,"avatar_url":"https://avatars.githubusercontent.com/u/45284?v=3","gravatar_id":"","url":"https://api.github.com/users/thorsten","html_url":"https://github.com/thorsten","followers_url":"https://api.github.com/users/thorsten/followers","following_url":"https://api.github.com/users/thorsten/following{/other_user}","gists_url":"https://api.github.com/users/thorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/thorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorsten/subscriptions","organizations_url":"https://api.github.com/users/thorsten/orgs","repos_url":"https://api.github.com/users/thorsten/repos","events_url":"https://api.github.com/users/thorsten/events{/privacy}","received_events_url":"https://api.github.com/users/thorsten/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":61,"state":"open","created_at":"2013-08-18T10:06:11Z","updated_at":"2015-06-10T10:58:58Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-08T09:56:32Z","updated_at":"2015-06-10T10:58:58Z","closed_at":"2015-06-10T10:58:58Z","body":"In the update.php is an error. In step 3 I get this error : \r\n\r\nphpMyFAQ notice [8]: Undefined index: core.language in /var/www/phpmyfaq-test/html/github/inc/PMF/Configuration.php on line 187\r\nFatal error: Call to a member function getLanguage() on a non-object in /var/www/phpmyfaq-test/html/github/setup/update.php on line 876\r\n\r\nI fixed this part :\r\n//\r\n    // UPDATES FROM 2.9.0-alpha3\r\n    //\r\n    if (version_compare($version, '2.9.0-alpha3', '<')) {\r\n        $faqConfig->add('main.customPdfHeader', '');\r\n        $faqConfig->add('main.customPdfFooter', '');\r\n        $faqConfig->add('records.allowDownloadsForGuests', 'false');\r\n        $faqConfig->add('main.enableMarkdownEditor', 'false');\r\n        $faqConfig->add('main.enableSmartAnswering', 'true');\r\n        $faqConfig->add('records.numberMaxStoredRevisions', '10');\r\n        if ('sqlite3' === $DB['type']) {\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqquestions ADD COLUMN lang VARCHAR(5) NOT NULL\";\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqcategories ADD COLUMN group_id INT NULL DEFAULT -1\";\r\n        } else {\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqquestions ADD lang VARCHAR(5) NOT NULL\";\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqcategories ADD group_id INT NULL DEFAULT -1\";\r\n        }\r\n        $query[] = \"UPDATE faqquestions SET lang = '\" . $faqConfig->getLanguage()->getLanguage() . \"'\";\r\n    }\r\n\r\nto this one :\r\n\r\n//\r\n    // UPDATES FROM 2.9.0-alpha3\r\n    //\r\n    if (version_compare($version, '2.9.0-alpha3', '<')) {\r\n        $faqConfig->add('main.customPdfHeader', '');\r\n        $faqConfig->add('main.customPdfFooter', '');\r\n        $faqConfig->add('records.allowDownloadsForGuests', 'false');\r\n        $faqConfig->add('main.enableMarkdownEditor', 'false');\r\n        $faqConfig->add('main.enableSmartAnswering', 'true');\r\n        $faqConfig->add('records.numberMaxStoredRevisions', '10');\r\n        if ('sqlite3' === $DB['type']) {\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqquestions ADD COLUMN lang VARCHAR(5) NOT NULL\";\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqcategories ADD COLUMN group_id INT NULL DEFAULT -1\";\r\n        } else {\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqquestions ADD lang VARCHAR(5) NOT NULL\";\r\n            $query[] = \"ALTER TABLE \" . PMF_Db::getTablePrefix() . \"faqcategories ADD group_id INT NULL DEFAULT -1\";\r\n        }\r\n        $query[] = \"UPDATE  . PMF_Db::getTablePrefix() . \"faqquestions SET lang = '\" . $faqConfig->getLanguage() . \"'\";\r\n    }\r\n\r\nAnd then the update was :+1: "},"comment":{"url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/comments/110700000","html_url":"https://github.com/thorsten/phpMyFAQ/issues/1029#issuecomment-110700000","issue_url":"https://api.github.com/repos/thorsten/phpMyFAQ/issues/1029","id":110700000,"user":{"login":"thorsten","id":45284,"avatar_url":"https://avatars.githubusercontent.com/u/45284?v=3","gravatar_id":"","url":"https://api.github.com/users/thorsten","html_url":"https://github.com/thorsten","followers_url":"https://api.github.com/users/thorsten/followers","following_url":"https://api.github.com/users/thorsten/following{/other_user}","gists_url":"https://api.github.com/users/thorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/thorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorsten/subscriptions","organizations_url":"https://api.github.com/users/thorsten/orgs","repos_url":"https://api.github.com/users/thorsten/repos","events_url":"https://api.github.com/users/thorsten/events{/privacy}","received_events_url":"https://api.github.com/users/thorsten/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T10:58:58Z","updated_at":"2015-06-10T10:58:58Z","body":"Oh, I fixed that for another ticket: https://github.com/thorsten/phpMyFAQ/commit/c6355784b11261b4dba753117271baeee98e75a3"}}