{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1120","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1120/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1120/events","html_url":"https://github.com/mautic/mautic/issues/1120","id":114797944,"number":1120,"title":"Can't delete events from Campaign Builder","user":{"login":"afelicioni","id":1416945,"avatar_url":"https://avatars.githubusercontent.com/u/1416945?v=3","gravatar_id":"","url":"https://api.github.com/users/afelicioni","html_url":"https://github.com/afelicioni","followers_url":"https://api.github.com/users/afelicioni/followers","following_url":"https://api.github.com/users/afelicioni/following{/other_user}","gists_url":"https://api.github.com/users/afelicioni/gists{/gist_id}","starred_url":"https://api.github.com/users/afelicioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afelicioni/subscriptions","organizations_url":"https://api.github.com/users/afelicioni/orgs","repos_url":"https://api.github.com/users/afelicioni/repos","events_url":"https://api.github.com/users/afelicioni/events{/privacy}","received_events_url":"https://api.github.com/users/afelicioni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T11:43:28Z","updated_at":"2015-11-03T12:00:29Z","closed_at":null,"body":"After updating a Mautic istance from 1.1.3 to 1.2.2, I stumbled upon an issue on Campaign Builder.\r\n\r\nTrying do delete an event via the top right cross icon, got a failure: the AJAX response for delete method returns a JSON, but with appended HTML stating `Site is offline` as title. \r\n```\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n    <meta charset=\"utf-8\">\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n    <meta name=\"description\" content=\"\">\r\n    <meta name=\"author\" content=\"\">\r\n\r\n    <title>Site is offline</title>\r\n\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">\r\n    <link rel=\"icon\" type=\"image/x-icon\" href=\"/media/images/favicon.ico\" />\r\n    <link rel=\"stylesheet\" href=\"/media/css/libraries.css\" />\r\n    <link rel=\"stylesheet\" href=\"/media/css/app.css\" />\r\n</head>\r\n\r\n<body>\r\n    <div class=\"container\">\r\n        <div class=\"row\">\r\n            <div class=\"col-sm-offset-3 col-sm-6\">\r\n                <div class=\"bg-white pa-lg text-center\" style=\"margin-top:100px;\">\r\n                    <i class=\"fa fa-warning fa-5x\"></i>\r\n                    <h2>The site is currently offline due to encountering an error. If the problem persists\r\n, please contact the system administrator.</h2>\r\n                                        <h4 class=\"mt-15\">System administrators, check server logs for\r\n errors.</h4>\r\n                                    </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</body>\r\n```"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/153331579","html_url":"https://github.com/mautic/mautic/issues/1120#issuecomment-153331579","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1120","id":153331579,"user":{"login":"afelicioni","id":1416945,"avatar_url":"https://avatars.githubusercontent.com/u/1416945?v=3","gravatar_id":"","url":"https://api.github.com/users/afelicioni","html_url":"https://github.com/afelicioni","followers_url":"https://api.github.com/users/afelicioni/followers","following_url":"https://api.github.com/users/afelicioni/following{/other_user}","gists_url":"https://api.github.com/users/afelicioni/gists{/gist_id}","starred_url":"https://api.github.com/users/afelicioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afelicioni/subscriptions","organizations_url":"https://api.github.com/users/afelicioni/orgs","repos_url":"https://api.github.com/users/afelicioni/repos","events_url":"https://api.github.com/users/afelicioni/events{/privacy}","received_events_url":"https://api.github.com/users/afelicioni/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T12:00:29Z","updated_at":"2015-11-03T12:00:29Z","body":"Also noticed the following messagge added to internal log\r\n```\r\n[2015-11-03 11:57:16] mautic.ERROR: Fatal: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. - in file Unknown - at line 0 [] []\r\n```\r\n\r\n"}}