Fatal error: install simply-static-plugin

An error is displayed at the bottom of the MAINWP administration page

Fatal error: Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in /home/xxxxx/public_html/wp/wp-content/plugins/simply-static-pro/vendor/guzzlehttp/guzzle/src/Utils.php:113 Stack trace: #0 /home/xxxxx/public_html/wp/wp-content/plugins/simply-static-pro/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent() #1 /home/xxxxx/public_html/wp/wp-content/plugins/mainwp-google-analytics-extension/lib/google-api-client-2.2.2/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent() #2 /home/xxxxx/public_html/wp/wp-content/plugins/mainwp-google-analytics-extension/lib/google-api-client-2.2.2/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array) #3 /home/xxxxx/public_html/wp/wp-content/plugins/mainwp-google-analytics-extension/lib/google-api-client-2.2.2/src/Google/Client.php(1068): GuzzleHttp\Client->__construct(Array) #4 /home/xxxxx/public_html/wp/wp-content/plugins/mainwp-google-analytics-extension/lib/google-api-client-2.2.2/src/Goog in /home/xxxxx/public_html/wp/wp-content/plugins/simply-static-pro/vendor/guzzlehttp/guzzle/src/Utils.php on line 113

Is this installed on your MainWP Dashboard? Why?
What changed before this error occured? It looks like the plugin needs an update, so you’d need to contact their support if no update is yet available.


Hey @imzban

This appears to be an issue with the Simply Static plugin.
Did you have this issue with previous versions of the plugin?

As @josklever suggested, please try contacting the support for that plugin so that they can provide more information.


It worked fine when SimplyStatic-plugin was disabled. Can you fix the compatibility because I want to use this plugin?

This plugin is a newly added error

Thanks for the additional information.

As it stands, the issue appears to be caused by the Simply Static Pro plugin.

Please try contacting their support so that they can provide more information.

You are using the Pro version, so you can’t ask for support via the support forum of the free plugin. You need to contact them via their own site.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.