Melapress / admin-notices-manager

Admin notices manager is a WordPress plugin that allows you to better manage the admin notices in the WordPress dashboard so you read them at your own convenience and never miss an important message.
https://www.wpwhitesecurity.com/wordpress-plugins/admin-notices-manager/
Other
0 stars 0 forks source link

Cannot activate the plugin #2

Closed robert81 closed 4 years ago

robert81 commented 4 years ago

Upon trying to activate the plugin on a vanilla install I get this error:

image

Here is the error log:

 [18-Aug-2020 15:00:17 UTC] PHP Fatal error:  Uncaught Error: Class 'AdminNoticesManager\Notices' not found in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php:25
 Stack trace:
 #0 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/plugin.php(54): AdminNoticesManager\Core\setup()
 #1 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/includes/plugin.php(668): include_once('/var/www/robert...')
 #2 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/plugins.php(58): activate_plugin('wp-admin-notice...', 'https://main.ro...', false)
 #3 {main}
   thrown in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php on line 25
 [18-Aug-2020 15:00:19 UTC] PHP Fatal error:  Uncaught Error: Class 'AdminNoticesManager\Notices' not found in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php:25
 Stack trace:
 #0 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/plugin.php(54): AdminNoticesManager\Core\setup()
 #1 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/includes/plugin.php(2297): include('/var/www/robert...')
 #2 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('wp-admin-notice...')
 #3 {main}
   thrown in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php on line 25
 [18-Aug-2020 15:00:19 UTC] PHP Fatal error:  Uncaught Error: Class 'AdminNoticesManager\Notices' not found in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php:25
 Stack trace:
 #0 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/plugin.php(54): AdminNoticesManager\Core\setup()
 #1 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/includes/plugin.php(2297): include('/var/www/robert...')
 #2 /var/www/robert.wpwhitesecurity.net/main/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape('wp-admin-notice...')
 #3 {main}
   thrown in /var/www/robert.wpwhitesecurity.net/main/public_html/wp-content/plugins/wp-admin-notices-manager-master/includes/functions/core.php on line 25

This is the site: https://main.robert.wpwhitesecurity.net/wp-admin/

martinkrcho commented 4 years ago

As I already explained on Slack, it seems you downloaded source code from GitHub. It does not contain autoloading mechanism and other necessities create when you build the plugin using composer and npm. Please check out the readme file to find out how to build ZIP file suitable for deployment.