PHP Notices in New Multisite Environment Prior to Creating Sub-sites
-
Just want to bring these PHP Notices to your attention. In the course of getting ready to test some themes/plugins I help manage I’ve discovered that your plugin produces a lot of PHP Notice errors when you activate the plugin on a Multisite enabled environment before any sub-sites are created.
Notice: Undefined variable: current_site in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Trying to get property of non-object in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Undefined variable: current_site in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Trying to get property of non-object in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Undefined variable: current_blog in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Trying to get property of non-object in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Undefined variable: current_blog in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
Notice: Trying to get property of non-object in /Users/lucasbonner/Sites/temptest/wp-content/plugins/wpmu-new-blog-defaults/cets_blog_defaults.php on line 1136
You should be able to recreate them by
- Enabling PHP_NOTICE errors (either logging or displaying them)
- Create new empty multisite
- Activate your plugin
- Visit Your plugin settings before adding a subsite.
Thanks for you work on this plugin!
-Lucashttps://www.ads-software.com/plugins/wpmu-new-blog-defaults/
- The topic ‘PHP Notices in New Multisite Environment Prior to Creating Sub-sites’ is closed to new replies.