Messed up the whole admin! Avoid!
-
During install I got a “Plugin does not have a valid header”-error.
Then when trying to activate the plugin it gave me:Fatal error: Uncaught Error: Call to undefined function rest_url() in /var/www/vhosts/*****/httpdocs/wp-content/plugins/bogo/admin/admin.php:43 Stack trace: #0 /var/www/vhosts/*****/httpdocs/wp-includes/plugin.php(503): bogo_admin_enqueue_scripts(‘plugins.php’) #1 /var/www/vhosts/*****/httpdocs/wp-admin/admin-header.php(92): do_action(‘admin_enqueue_s…’, ‘plugins.php’) #2 /var/www/vhosts/*****/httpdocs/wp-admin/plugins.php(401): require_once(‘/var/www/vhosts…’) #3 {main} thrown in /var/www/vhosts/*****/httpdocs/wp-content/plugins/bogo/admin/admin.php on line 43
The admin stopped working then. I had to remove the plugin through FTP.
- The topic ‘Messed up the whole admin! Avoid!’ is closed to new replies.