Fatal error: Call to undefined function get_plugin_data()
-
I tried again to use the plugin in my multisite with 2 sites in sub-directories (site and site/en/) with 2 activated plugins: Easy SMTP and Blue Admin. I need these 2 plugins and won’t abandon them.
In your installation instruction you wrote:
“Upload plugin-name.php to the /wp-content/plugins/ directory”
Did you really mean the file plugin-name.php? But there is no such file. Is it user-upgrade-capability.php? But then what for are all other files?So I uploaded the whole plugin folder /user-upgrade-capability/ to /wp-content/plugins/. Was it wrong?
I activated the plugin for network and was immediately redirected to the white screen with message:
“Fatal error: Call to undefined function get_plugin_data() in /var/www/html/test-2/wp-content/plugins/user-upgrade-capability/user-upgrade-capability.php on line 311”
I couldn’t enter the site anymore.Then I literally fulfilled your instruction and uploaded only the file user-upgrade-capability.php to /wp-content/plugins/. Of course I’ve got a white screen with error message.
I didn’t try to activate the plugin for each site of multisite because the 1-st issue revealed it’s dangerous features.
- The topic ‘Fatal error: Call to undefined function get_plugin_data()’ is closed to new replies.