{"action":"closed","issue":{"url":"https://api.github.com/repos/mainwp/mainwp/issues/75","repository_url":"https://api.github.com/repos/mainwp/mainwp","labels_url":"https://api.github.com/repos/mainwp/mainwp/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/mainwp/mainwp/issues/75/comments","events_url":"https://api.github.com/repos/mainwp/mainwp/issues/75/events","html_url":"https://github.com/mainwp/mainwp/issues/75","id":264612094,"node_id":"MDU6SXNzdWUyNjQ2MTIwOTQ=","number":75,"title":"Array to string conversion","user":{"login":"vladimirdulov","id":144679,"node_id":"MDQ6VXNlcjE0NDY3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/144679?v=4","gravatar_id":"","url":"https://api.github.com/users/vladimirdulov","html_url":"https://github.com/vladimirdulov","followers_url":"https://api.github.com/users/vladimirdulov/followers","following_url":"https://api.github.com/users/vladimirdulov/following{/other_user}","gists_url":"https://api.github.com/users/vladimirdulov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirdulov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirdulov/subscriptions","organizations_url":"https://api.github.com/users/vladimirdulov/orgs","repos_url":"https://api.github.com/users/vladimirdulov/repos","events_url":"https://api.github.com/users/vladimirdulov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirdulov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-11T14:37:31Z","updated_at":"2018-07-09T16:50:03Z","closed_at":"2018-07-09T16:50:03Z","author_association":"NONE","body":"There is 'Array to string conversion' error occurring in line 46 of  wp-content/plugins/mainwp/page/page-mainwp-manage-backups.php\r\n\r\nproposed fix:\r\n```\r\n--- wp-content/plugins/mainwp/page/page-mainwp-manage-backups.php.orig\t2017-10-11 18:36:25.000000000 +0400\r\n+++ wp-content/plugins/mainwp/page/page-mainwp-manage-backups.php\t2017-10-11 18:32:27.000000000 +0400\r\n@@ -43,7 +43,7 @@\r\n         if ( is_array( $customPage ) && isset( $customPage['slug'] ) && !empty($mainwp_primaryBackup)) {\r\n \t\t\tself::$hideSubmenuBackups = true;\r\n \t\t\t$_page = add_submenu_page( 'mainwp_tab', $customPage['title'], '<span id=\"mainwp-Backups\">' . $customPage['title'] . '</span>', 'read', 'ManageBackups' . $customPage['slug'], $customPage['callback'] );\r\n-            MainWP_System::add_sub_left_menu($customPage['title'], 'mainwp_tab', 'ManageBackups' . $customPage, 'admin.php?page=ManageBackups' .  $customPage['slug'], '<i class=\"fa fa-hdd-o\"></i>', '' );\r\n+            MainWP_System::add_sub_left_menu($customPage['title'], 'mainwp_tab', 'ManageBackups' . $customPage['slug'], 'admin.php?page=ManageBackups' .  $customPage['slug'], '<i class=\"fa fa-hdd-o\"></i>', '' );\r\n             if ($enable_legacy_backup) {\r\n                 add_action( 'load-' . $_page, array( MainWP_Manage_Backups::getClassName(), 'on_load_page' ) );\r\n             }\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"bogdan-mainwp"}}