{"action":"opened","issue":{"url":"https://api.github.com/repos/matomo-org/matomo/issues/12617","repository_url":"https://api.github.com/repos/matomo-org/matomo","labels_url":"https://api.github.com/repos/matomo-org/matomo/issues/12617/labels{/name}","comments_url":"https://api.github.com/repos/matomo-org/matomo/issues/12617/comments","events_url":"https://api.github.com/repos/matomo-org/matomo/issues/12617/events","html_url":"https://github.com/matomo-org/matomo/issues/12617","id":305276604,"number":12617,"title":"When a user deletes a site that is currently selected in the URL, need to redirect another URL","user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars3.githubusercontent.com/u/273120?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"labels":[{"id":112370551,"url":"https://api.github.com/repos/matomo-org/matomo/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T18:23:50Z","updated_at":"2018-03-14T18:23:50Z","closed_at":null,"author_association":"OWNER","body":"For example open `index.php?module=SitesManager&action=index&idSite=2&period=day&date=yesterday&showaddsite=false&updated=1`\r\n\r\nNow delete site 2, and then move for example to Custom Dimensions manage page (`/index.php?module=CustomDimensions&action=manage&idSite=2&period=day&date=yesterday&showaddsite=false`). A fatal error will occur because the site cannot be found.\r\n\r\n> Error: {\"message\":\"Variable \\\"topMenu\\\" does not exist.\",\"file\":\"\\/home\\/innocraft-cloud-mercury\\/www\\/*.innocraft.cloud\\/plugins\\/CoreHome\\/templates\\/_topBar.twig\",\"line\":1}"}}
{"actor":{"display_login":"tsteur"}}