This is the same issue as the thread below yours: https://ww.wp.xz.cn/support/topic/php-notice-30.
I have no idea how this could possibly be happening. Can you disable all your other plugins and let me know if the error persists?
Thanks John,
I’ve got a basic 3.9.1 Network install. I’ve stripped back to running only User Switching and a cut down plugging Example of using Thomas Griffin’s plugin installer CLASS.
1) Activate Both Plugins
2) Click on the “Begin installing plugins” from the admin message.
3) PHP warning will appear
example plugin download here. This is nothing more than turning the TGM Example code into a plugin.
Thanks. I modified the example so it installed User Switching but I still can’t reproduce the issue.
Do you still get the same warning if you switch to the default theme and leave just User Switching activated?
Oh wait. I just got the error (typically right after I posted that). I’ll take a look.
OK this is a bug in that plugin activation class. I opened a pull request here: https://github.com/thomasgriffin/TGM-Plugin-Activation/pull/208
Marking this thread as resolved as it’s not a User Switching issue.