wearerequired / admin-menu-manager

Manage the WordPress admin menu using a simple drag & drop interface.
https://wordpress.org/plugins/admin-menu-manager/
GNU General Public License v2.0
61 stars 6 forks source link

Fatal error: Class 'WP_Requirements_Check' not found #48

Closed NickHeurter closed 6 years ago

NickHeurter commented 7 years ago

When I try to active plugin version 2.0 of the plugin on my Wordpress 4.8 installation I receive the following error:

Fatal error: Class 'WP_Requirements_Check' not found in /wp-content/plugins/admin-menu-manager-master/admin-menu-manager.php on line 38

How to fix this so I can use version 2.0 of the plugin?

swissspidy commented 7 years ago

Hey there,

Did you use the version from WordPress.org or the one on GitHub? For the latter, you need to run composer install first. And then npm install && grunt to generate all the CSS and JS.

If you don't want to do that, you can download the 2.0 beta version from WordPress.org like so:

  1. Visit https://wordpress.org/plugins/admin-menu-manager/
  2. Click on Advanced View in the sidebar
  3. Scroll to the bottom and click Download next to Development Version
NickHeurter commented 7 years ago

Hey there,

Thanks for your fast reply. I've tried to install trough the Advanced View in de sidebar of the plugin, but after downloading and installation the version seems to be Version: 1.0.3

What am I doing wrong?

swissspidy commented 7 years ago

Ugh, that's my fault, sorry. Since it's an alpha version and not yet a beta, I apparently didn't it upload on WordPress.org just yet.

I just created a new 2.0.0-alpha release for you here on GitHub so you can download it from here.

Direct download: https://github.com/wearerequired/admin-menu-manager/releases/download/2.0.0-alpha/admin-menu-manager.zip

NickHeurter commented 7 years ago

Awesome, thanks a lot @swissspidy! I've installed it and I will start testing it. If I run into any issue I will let you know!