Hi,
I know this has been posted several times before, but this issue is nearly three years old and it would be nice to see some progress on it. Past threads are:
- [https://theme.co/apex/forum/t/email-forms-plugin-breaks-multisite-network-page/30558]
- [https://theme.co/apex/forum/t/bug-email-forms-plug-in-v-2-0-2-gives-error-500-in-wp-multisite/5274]
- [https://theme.co/apex/forum/t/email-form-plugin-error-with-multisite-network/50647]
- [https://theme.co/apex/forum/t/email-forms-plugin-crashing-multisite/45593]
In one of these threads, it was suggested this was a core WP bug, but no reasoning was given for this (and I don’t see any links to bug reports on the WP tracker) and it seems everyone is experiencing this same issue. Can some attention please be dedicated to solving this?
If it is made active in just one of the sites, the multisite plugins page will not load at all, throwing the following error:
Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/wp-includes/capabilities.php:615
Stack trace:
#0 /var/www/wp-admin/network.php(18): current_user_can('setup_network')
#1 /var/www/wp-admin/network/setup.php(13): require('/var/www/wp-adm...')
#2 /var/www/wp-content/plugins/tco-email-forms/email-integration/functions/framework/init.php(35): require_once('/var/www/wp-adm...')
#3 /var/www/wp-content/plugins/tco-email-forms/email-integration/setup.php(60): require('/var/www/wp-con...')
#4 /var/www/wp-content/plugins/tco-email-forms/tco-email-forms.php(38): require('/var/www/wp-con...')
#5 /var/www/wp-settings.php(322): include_once('/var/www/wp-con...')
#6 /var/www/wp-config.php(100): require_once('/var/www/wp-set...')
#7 /var/www/wp-load.php(37): require_once('/var/www/wp-con...')
#8 /var/www/wp-admin/admin.php(31): require_once('/var/www/wp-loa...')
#9 /var/www/wp-admin/network/admin.php(13): require_once('/var/www/wp-adm...')
#10 /var/www/wp-admin/network/plugins.php(11): require_once in /var/www/wp-includes/capabilities.php on line 615
The same error is triggered when trying to make the plugin Network Active on the multisite page.