Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical site error on Kinsta-hosted sites when activated #238

Open
maguijo opened this issue Dec 31, 2022 · 1 comment
Open

Critical site error on Kinsta-hosted sites when activated #238

maguijo opened this issue Dec 31, 2022 · 1 comment

Comments

@maguijo
Copy link

maguijo commented Dec 31, 2022

Installing WPGatsby on my Kinsta hosted wordpress site causes the site to "experience a critical error." It traces to line 79 of the file /wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/Source/MicroTime.php.

Error message: Uncaught Error: Call to undefined function RandomLib\Source\getmypid() in /wp-content/plugins/wp-gatsby/vendor/ircmaxell/random-lib/lib/RandomLib/Source/MicroTime.php:79

Kinsta tells me that getmypid() is disabled on their servers for security reasons. That's why the function isn't defined.

Any way to remove that requirement from the plugin?

@ZLevine
Copy link

ZLevine commented Aug 23, 2023

Are you using PHP 8? This plugin hasn't been updated to work with PHP 8 yet. If your hosting provider allows it, try PHP 7.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants