{"id":12523707,"date":"2020-03-09T12:36:55","date_gmt":"2020-03-09T12:36:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-throwing-php-error-2\/"},"modified":"2020-03-09T12:37:57","modified_gmt":"2020-03-09T12:37:57","slug":"plugin-throwing-php-error-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-throwing-php-error-2\/","title":{"rendered":"Plugin throwing PHP error"},"content":{"rendered":"<p>I am seeing the following PHP error when this plugin is active but not when it is disabled.<\/p>\n<p><code>Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \/home\/xxx\/xxx\/wp-includes\/functions.php on line 4986<\/code><\/p>\n<p>Plugin v1.1<br \/>\nWP v5.3.2<br \/>\nPHP v7.3.6<\/p>\n","protected":false},"template":"","class_list":["post-12523707","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12523707","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12523707\/revisions"}],"predecessor-version":[{"id":12523713,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12523707\/revisions\/12523713"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12523707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}