{"action":"created","comment":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/54861124","id":54861124,"diff_hunk":"@@ -477,6 +477,11 @@ public function save($update = false)\n             $custom = null;\n         }\n \n+\t\t//serialize data for save\n+        if(!empty($this->data['data'])){\n+            $this->data['data'] = serialize($this->data['data']);","path":"src/Backend/Core/Engine/Meta.php","position":6,"original_position":6,"commit_id":"4012fbc37956ebb207209c4af7437306c2e3f828","original_commit_id":"4012fbc37956ebb207209c4af7437306c2e3f828","user":{"login":"carakas","id":3634654,"avatar_url":"https://avatars.githubusercontent.com/u/3634654?v=3","gravatar_id":"","url":"https://api.github.com/users/carakas","html_url":"https://github.com/carakas","followers_url":"https://api.github.com/users/carakas/followers","following_url":"https://api.github.com/users/carakas/following{/other_user}","gists_url":"https://api.github.com/users/carakas/gists{/gist_id}","starred_url":"https://api.github.com/users/carakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carakas/subscriptions","organizations_url":"https://api.github.com/users/carakas/orgs","repos_url":"https://api.github.com/users/carakas/repos","events_url":"https://api.github.com/users/carakas/events{/privacy}","received_events_url":"https://api.github.com/users/carakas/received_events","type":"User","site_admin":false},"body":"I would only serialize this when you are inserting or updating it in the database. Now you are changing the data of the object itself.","created_at":"2016-03-03T10:24:31Z","updated_at":"2016-03-03T10:24:31Z","html_url":"https://github.com/forkcms/forkcms/pull/1425#discussion_r54861124","pull_request_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1425","_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/54861124"},"html":{"href":"https://github.com/forkcms/forkcms/pull/1425#discussion_r54861124"},"pull_request":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1425"}}},"pull_request":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/1425","id":61536602,"html_url":"https://github.com/forkcms/forkcms/pull/1425","diff_url":"https://github.com/forkcms/forkcms/pull/1425.diff","patch_url":"https://github.com/forkcms/forkcms/pull/1425.patch","issue_url":"https://api.github.com/repos/forkcms/forkcms/issues/1425","number":1425,"state":"open","locked":false,"title":"Bugfix - Saving page results in Notice: Array to string conversion","user":{"login":"V3nn3tj3","id":394542,"avatar_url":"https://avatars.githubusercontent.com/u/394542?v=3","gravatar_id":"","url":"https://api.github.com/users/V3nn3tj3","html_url":"https://github.com/V3nn3tj3","followers_url":"https://api.github.com/users/V3nn3tj3/followers","following_url":"https://api.github.com/users/V3nn3tj3/following{/other_user}","gists_url":"https://api.github.com/users/V3nn3tj3/gists{/gist_id}","starred_url":"https://api.github.com/users/V3nn3tj3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V3nn3tj3/subscriptions","organizations_url":"https://api.github.com/users/V3nn3tj3/orgs","repos_url":"https://api.github.com/users/V3nn3tj3/repos","events_url":"https://api.github.com/users/V3nn3tj3/events{/privacy}","received_events_url":"https://api.github.com/users/V3nn3tj3/received_events","type":"User","site_admin":false},"body":"Serialize data before saving in database","created_at":"2016-03-03T10:13:40Z","updated_at":"2016-03-03T10:24:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91115355da37fb8a66cf4b27b4bd25cd6bc97344","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1425/commits","review_comments_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1425/comments","review_comment_url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forkcms/forkcms/issues/1425/comments","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/4012fbc37956ebb207209c4af7437306c2e3f828","head":{"label":"V3nn3tj3:master","ref":"master","sha":"4012fbc37956ebb207209c4af7437306c2e3f828","user":{"login":"V3nn3tj3","id":394542,"avatar_url":"https://avatars.githubusercontent.com/u/394542?v=3","gravatar_id":"","url":"https://api.github.com/users/V3nn3tj3","html_url":"https://github.com/V3nn3tj3","followers_url":"https://api.github.com/users/V3nn3tj3/followers","following_url":"https://api.github.com/users/V3nn3tj3/following{/other_user}","gists_url":"https://api.github.com/users/V3nn3tj3/gists{/gist_id}","starred_url":"https://api.github.com/users/V3nn3tj3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V3nn3tj3/subscriptions","organizations_url":"https://api.github.com/users/V3nn3tj3/orgs","repos_url":"https://api.github.com/users/V3nn3tj3/repos","events_url":"https://api.github.com/users/V3nn3tj3/events{/privacy}","received_events_url":"https://api.github.com/users/V3nn3tj3/received_events","type":"User","site_admin":false},"repo":{"id":53040639,"name":"forkcms","full_name":"V3nn3tj3/forkcms","owner":{"login":"V3nn3tj3","id":394542,"avatar_url":"https://avatars.githubusercontent.com/u/394542?v=3","gravatar_id":"","url":"https://api.github.com/users/V3nn3tj3","html_url":"https://github.com/V3nn3tj3","followers_url":"https://api.github.com/users/V3nn3tj3/followers","following_url":"https://api.github.com/users/V3nn3tj3/following{/other_user}","gists_url":"https://api.github.com/users/V3nn3tj3/gists{/gist_id}","starred_url":"https://api.github.com/users/V3nn3tj3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V3nn3tj3/subscriptions","organizations_url":"https://api.github.com/users/V3nn3tj3/orgs","repos_url":"https://api.github.com/users/V3nn3tj3/repos","events_url":"https://api.github.com/users/V3nn3tj3/events{/privacy}","received_events_url":"https://api.github.com/users/V3nn3tj3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/V3nn3tj3/forkcms","description":"Fork is an open source CMS.","fork":true,"url":"https://api.github.com/repos/V3nn3tj3/forkcms","forks_url":"https://api.github.com/repos/V3nn3tj3/forkcms/forks","keys_url":"https://api.github.com/repos/V3nn3tj3/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/V3nn3tj3/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/V3nn3tj3/forkcms/teams","hooks_url":"https://api.github.com/repos/V3nn3tj3/forkcms/hooks","issue_events_url":"https://api.github.com/repos/V3nn3tj3/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/V3nn3tj3/forkcms/events","assignees_url":"https://api.github.com/repos/V3nn3tj3/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/V3nn3tj3/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/V3nn3tj3/forkcms/tags","blobs_url":"https://api.github.com/repos/V3nn3tj3/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/V3nn3tj3/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/V3nn3tj3/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/V3nn3tj3/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/V3nn3tj3/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/V3nn3tj3/forkcms/languages","stargazers_url":"https://api.github.com/repos/V3nn3tj3/forkcms/stargazers","contributors_url":"https://api.github.com/repos/V3nn3tj3/forkcms/contributors","subscribers_url":"https://api.github.com/repos/V3nn3tj3/forkcms/subscribers","subscription_url":"https://api.github.com/repos/V3nn3tj3/forkcms/subscription","commits_url":"https://api.github.com/repos/V3nn3tj3/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/V3nn3tj3/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/V3nn3tj3/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/V3nn3tj3/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/V3nn3tj3/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/V3nn3tj3/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/V3nn3tj3/forkcms/merges","archive_url":"https://api.github.com/repos/V3nn3tj3/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/V3nn3tj3/forkcms/downloads","issues_url":"https://api.github.com/repos/V3nn3tj3/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/V3nn3tj3/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/V3nn3tj3/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/V3nn3tj3/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/V3nn3tj3/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/V3nn3tj3/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/V3nn3tj3/forkcms/deployments","created_at":"2016-03-03T10:08:40Z","updated_at":"2016-03-03T10:08:44Z","pushed_at":"2016-03-03T10:13:39Z","git_url":"git://github.com/V3nn3tj3/forkcms.git","ssh_url":"git@github.com:V3nn3tj3/forkcms.git","clone_url":"https://github.com/V3nn3tj3/forkcms.git","svn_url":"https://github.com/V3nn3tj3/forkcms","homepage":"http://www.fork-cms.com","size":35836,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"forkcms:master","ref":"master","sha":"85bdc6c9bb2ab7bc6eb1755a6290096f152ded5c","user":{"login":"forkcms","id":312505,"avatar_url":"https://avatars.githubusercontent.com/u/312505?v=3","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"repo":{"id":1138583,"name":"forkcms","full_name":"forkcms/forkcms","owner":{"login":"forkcms","id":312505,"avatar_url":"https://avatars.githubusercontent.com/u/312505?v=3","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forkcms/forkcms","description":"Fork is an open source CMS.","fork":false,"url":"https://api.github.com/repos/forkcms/forkcms","forks_url":"https://api.github.com/repos/forkcms/forkcms/forks","keys_url":"https://api.github.com/repos/forkcms/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forkcms/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forkcms/forkcms/teams","hooks_url":"https://api.github.com/repos/forkcms/forkcms/hooks","issue_events_url":"https://api.github.com/repos/forkcms/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/forkcms/forkcms/events","assignees_url":"https://api.github.com/repos/forkcms/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/forkcms/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/forkcms/forkcms/tags","blobs_url":"https://api.github.com/repos/forkcms/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forkcms/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forkcms/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/forkcms/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/forkcms/forkcms/languages","stargazers_url":"https://api.github.com/repos/forkcms/forkcms/stargazers","contributors_url":"https://api.github.com/repos/forkcms/forkcms/contributors","subscribers_url":"https://api.github.com/repos/forkcms/forkcms/subscribers","subscription_url":"https://api.github.com/repos/forkcms/forkcms/subscription","commits_url":"https://api.github.com/repos/forkcms/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/forkcms/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/forkcms/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/forkcms/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/forkcms/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/forkcms/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forkcms/forkcms/merges","archive_url":"https://api.github.com/repos/forkcms/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forkcms/forkcms/downloads","issues_url":"https://api.github.com/repos/forkcms/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/forkcms/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/forkcms/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/forkcms/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forkcms/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/forkcms/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/forkcms/forkcms/deployments","created_at":"2010-12-04T18:06:15Z","updated_at":"2016-03-01T09:49:59Z","pushed_at":"2016-03-03T10:24:23Z","git_url":"git://github.com/forkcms/forkcms.git","ssh_url":"git@github.com:forkcms/forkcms.git","clone_url":"https://github.com/forkcms/forkcms.git","svn_url":"https://github.com/forkcms/forkcms","homepage":"http://www.fork-cms.com","size":55150,"stargazers_count":905,"watchers_count":905,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":241,"mirror_url":null,"open_issues_count":82,"forks":241,"open_issues":82,"watchers":905,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1425"},"html":{"href":"https://github.com/forkcms/forkcms/pull/1425"},"issue":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/1425"},"comments":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/1425/comments"},"review_comments":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1425/comments"},"review_comment":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1425/commits"},"statuses":{"href":"https://api.github.com/repos/forkcms/forkcms/statuses/4012fbc37956ebb207209c4af7437306c2e3f828"}}}}