Getting Fatal Error on Plugin Activation

If you are getting a fatal error on plugin activation, then it might be possible that you are using an older version of PHP. 

You should have the latest version of PHP (PHP 8.4+).

To check the PHP version of your site you need to follow these steps:

  • Go to your WordPress dashboard and navigate to Tools → Site Health.
Site Health to Check PHP Verison
Site Health to Check PHP Verison
  • Next, open the Info tab and search for the Server section.
  • There, you’ll find the PHP version your website is currently using.
PHP Version
PHP Version