{"id":10644959,"date":"2018-08-31T20:34:59","date_gmt":"2018-08-31T20:34:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/network-activate-issue\/"},"modified":"2018-08-31T20:37:00","modified_gmt":"2018-08-31T20:37:00","slug":"network-activate-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/network-activate-issue\/","title":{"rendered":"Network activate issue"},"content":{"rendered":"<p>This is a great plugin idea! I wish you good luck with this plugin, I can see a lot of people using it.<\/p>\n<p>A few problems:<\/p>\n<p>1. Installed it on a non-multisite install and the shortcode ( [epd_register] ) does not seem to do anything when put on a page. Tested with only this plugin active with 2017 Theme. It does continue to display the shortcode on the page, so it doesn&#8217;t look like the shortcode code is even being run.<\/p>\n<p>2. Installed it on a multisite install and tried to network active the plugin but got the PHP error:<\/p>\n<p>Fatal error: Uncaught ArgumentCountError: Too few arguments to function add_site_option(), 1 passed in C:\\www\\multisite\\wp-content\\plugins\\easy-plugin-demo\\includes\\admin\\settings\\register-settings.php on line 352 and exactly 2 expected in C:\\www\\multisite\\wp-includes\\option.php:1126 Stack trace: #0 C:\\www\\multisite\\wp-content\\plugins\\easy-plugin-demo\\includes\\admin\\settings\\register-settings.php(352): add_site_option(&#8216;epd_settings&#8217;) #1 C:\\www\\multisite\\wp-includes\\class-wp-hook.php(286): epd_register_settings(&#8221;) #2 C:\\www\\multisite\\wp-includes\\class-wp-hook.php(310): WP_Hook-&gt;apply_filters(NULL, Array) #3 C:\\www\\multisite\\wp-includes\\plugin.php(453): WP_Hook-&gt;do_action(Array) #4 C:\\www\\multisite\\wp-admin\\admin.php(156): do_action(&#8216;admin_init&#8217;) #5 C:\\www\\multisite\\wp-admin\\network\\admin.php(13): require_once(&#8216;C:\\\\www\\\\multisit&#8230;&#8217;) #6 C:\\www\\multisite\\wp-admin\\network\\plugins.php(11): require_once(&#8216;C:\\\\www\\\\multisit&#8230;&#8217;) #7 {main} thrown in C:\\www\\multisite\\wp-includes\\option.php on line 1126<\/p>\n<p>Tested on a Win 7 WAMP install running Apache\/2.4.27 and PHP\/7.1.9<\/p>\n","protected":false},"template":"","class_list":["post-10644959","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10644959","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\/10644959\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10644959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}