{"action":"created","issue":{"url":"https://api.github.com/repos/envato/wp-envato-market/issues/140","repository_url":"https://api.github.com/repos/envato/wp-envato-market","labels_url":"https://api.github.com/repos/envato/wp-envato-market/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/envato/wp-envato-market/issues/140/comments","events_url":"https://api.github.com/repos/envato/wp-envato-market/issues/140/events","html_url":"https://github.com/envato/wp-envato-market/issues/140","id":298970206,"number":140,"title":"\"Warning: Illegal string offset\" in Worpdpress backend","user":{"login":"Cri85","id":36699482,"avatar_url":"https://avatars2.githubusercontent.com/u/36699482?v=4","gravatar_id":"","url":"https://api.github.com/users/Cri85","html_url":"https://github.com/Cri85","followers_url":"https://api.github.com/users/Cri85/followers","following_url":"https://api.github.com/users/Cri85/following{/other_user}","gists_url":"https://api.github.com/users/Cri85/gists{/gist_id}","starred_url":"https://api.github.com/users/Cri85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cri85/subscriptions","organizations_url":"https://api.github.com/users/Cri85/orgs","repos_url":"https://api.github.com/users/Cri85/repos","events_url":"https://api.github.com/users/Cri85/events{/privacy}","received_events_url":"https://api.github.com/users/Cri85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T13:30:00Z","updated_at":"2018-02-22T07:49:48Z","closed_at":null,"author_association":"NONE","body":"Hello everyone, I get this error in my backend, in my local installation, in the themes and plugin option of Envato Market Plugin for Wordpress, in the rating section. In some of plugin I have it appears, check the image to see one of them\r\n\r\nWarning: Illegal string offset 'count' in C:\\xampp\\htdocs\\INSERTNAMEHERE\\wp-content\\plugins\\envato-market\\inc\\admin\\functions.php on line 394\r\n\r\nWarning: Illegal string offset 'count' in C:\\xampp\\htdocs\\INSERTNAMEHERE\\wp-content\\plugins\\envato-market\\inc\\admin\\functions.php on line 395\r\n\r\nThis is the line 394 and 395\r\n\r\n`<?php wp_star_rating( array( 'rating' => ( $plugin['rating']['rating'] / 5 * 100 ), 'type' => 'percent', 'number' => $plugin['rating']['count'] ) ); ?>`\r\n\r\n`<span class=\"num-ratings\">(<?php echo esc_html( number_format_i18n( $plugin['rating']['count'] ) ); ?>)</span>`\r\n\r\nWarning: number_format() expects parameter 1 to be float, string given in C:\\xampp\\htdocs\\INSERTNAMEHERE\\wp-includes\\functions.php on line 221\r\n\r\n And 221\r\n\r\n`$formatted = number_format( $number, absint( $decimals ), $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] );`\r\n\r\nI run latest XAMPP version with php7.\r\n\r\n![error envato](https://user-images.githubusercontent.com/36699482/36482366-5e3eb6ac-1713-11e8-8fab-76b3a18d8033.jpg)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/envato/wp-envato-market/issues/comments/367594995","html_url":"https://github.com/envato/wp-envato-market/issues/140#issuecomment-367594995","issue_url":"https://api.github.com/repos/envato/wp-envato-market/issues/140","id":367594995,"user":{"login":"garciacrew","id":32854344,"avatar_url":"https://avatars3.githubusercontent.com/u/32854344?v=4","gravatar_id":"","url":"https://api.github.com/users/garciacrew","html_url":"https://github.com/garciacrew","followers_url":"https://api.github.com/users/garciacrew/followers","following_url":"https://api.github.com/users/garciacrew/following{/other_user}","gists_url":"https://api.github.com/users/garciacrew/gists{/gist_id}","starred_url":"https://api.github.com/users/garciacrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garciacrew/subscriptions","organizations_url":"https://api.github.com/users/garciacrew/orgs","repos_url":"https://api.github.com/users/garciacrew/repos","events_url":"https://api.github.com/users/garciacrew/events{/privacy}","received_events_url":"https://api.github.com/users/garciacrew/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T07:49:48Z","updated_at":"2018-02-22T07:49:48Z","author_association":"NONE","body":"same here."}}
{"actor":{"display_login":"garciacrew"}}