{"id":14529266,"date":"2021-06-07T15:50:17","date_gmt":"2021-06-07T15:50:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/missing-method-error\/"},"modified":"2021-06-07T15:50:17","modified_gmt":"2021-06-07T15:50:17","slug":"missing-method-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/missing-method-error\/","title":{"rendered":"Missing Method Error"},"content":{"rendered":"<p>Hi<\/p>\n<p>Looks like a minor bug in WP Team 2.1.1 free version and the preceding release which is showing in my admin interface. No problems in the frontend.<\/p>\n<p>Team.php tries to add an action called custom_image_size in line 158. It&#8217;s looking for the method in src\/Admin\/Admin.php but the method does not exist so I get an error every time the post_updated hook fires as follows:<\/p>\n<p>Warning: call_user_func_array() expects parameter 1 to be a valid callback, class &#8216;ShapedPlugin\\WPTeam\\Admin\\Admin&#8217; does not have a method &#8216;custom_image_size&#8217; in&#8230;<\/p>\n<p>I&#8217;ll work around it by commenting out line 158 but thought I&#8217;d let you know.<\/p>\n<p>jack<\/p>\n","protected":false},"template":"","class_list":["post-14529266","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14529266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14529266\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14529266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}