TylerBarnes / using-gatsby-source-wordpress-experimental

A starter for the upcoming gatsby-source-wordpress@v4
https://www.npmjs.com/package/gatsby-source-wordpress-experimental
MIT License
86 stars 29 forks source link

Error when activating wp-gatsby plugin #16

Open rburgst opened 4 years ago

rburgst commented 4 years ago

when I activate the wp-gatsby plugin I get the following error

Fatal error: Uncaught ReflectionException: Class RandomLib\Mixer\._McryptRijndael128 does not exist in /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php on line 50 ReflectionException: Class RandomLib\Mixer\._McryptRijndael128 does not exist in /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php on line 50 Call Stack: 0.0003 361136 1. {main}() /var/www/html/wp-admin/plugins.php:0 0.0003 361808 2. require_once('/var/www/html/wp-admin/admin.php') /var/www/html/wp-admin/plugins.php:10 0.2896 12375624 3. do_action() /var/www/html/wp-admin/admin.php:170 0.2896 12376000 4. WP_Hook->do_action() /var/www/html/wp-includes/plugin.php:478 0.2896 12376000 5. WP_Hook->apply_filters() /var/www/html/wp-includes/class-wp-hook.php:312 0.3040 12719864 6. WPGatsby\Admin\Settings->admin_init() /var/www/html/wp-includes/class-wp-hook.php:288 0.3040 12720616 7. WPGatsby\Admin\Settings->get_settings_fields() /var/www/html/wp-content/plugins/wp-gatsby/src/Admin/Settings.php:19 0.3041 12723904 8. WPGatsby\Admin\Settings::get_default_secret() /var/www/html/wp-content/plugins/wp-gatsby/src/Admin/Settings.php:141 0.3041 12723904 9. WPGatsby\Admin\Settings::generate_secret() /var/www/html/wp-content/plugins/wp-gatsby/src/Admin/Settings.php:81 0.3042 12724976 10. RandomLib\Factory->__construct() /var/www/html/wp-content/plugins/wp-gatsby/src/Admin/Settings.php:70 0.3042 12724976 11. RandomLib\Factory->loadMixers() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/Factory.php:62 0.3042 12725352 12. RandomLib\Factory->loadFiles() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/Factory.php:256 0.3043 12734496 13. call_user_func:{/var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php:77}() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php:77 0.3043 12734496 14. RandomLib\Factory->registerMixer() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php:77 0.3043 12734496 15. RandomLib\Factory->registerType() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/Factory.php:156 0.3043 12734640 16. ReflectionClass->__construct() /var/www/html/wp-content/plugins/wp-gatsby/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php:50 

any help would be appreciated.

TylerBarnes commented 4 years ago

Sorry for the delayed reply @rburgst , we had our internal Gatsby gathering last week which took up most of my time. This looks like it could be a problem with how I'm publishing new versions in 1 of the places you can get them. Which version is this for and where did you download it from? Soon we'll have this plugin on packagist and available on the WP plugin repo which should make this all easier.

rburgst commented 4 years ago

I got it from this very repo.