By ajams
Hi guys, I made a fresh Wordpress droplet. I didn’t do any changes. The Wordpress version is 5.8 and upon activating the SumoMe plugin, it throws the following error :
Plugin could not be activated because it triggered a fatal error. Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method WP_Plugin_SumoMe::activate_SumoMe_plugin() cannot be called statically in /var/www/html/wp-includes/class-wp-hook.php:303 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #1 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action() #2 /var/www/html/wp-admin/plugins.php(193): do_action() #3 {main} thrown in /var/www/html/wp-includes/class-wp-hook.php on line 303
Steps I’ve tried :
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
It sounds like the plugin is not compatible with PHP 8.0 which is the PHP version that comes with the 1-Click WordPress installation.
Can you share a link to the exact plugin that you are trying to install?
Usually, in such cases, it might be best to reach out to the plugin developers and ask them to upgrade the plugin so that it is compatible with the latest PHP versions.
Alternatively, you could try installing an older PHP version like PPH 7.4 and trying out the plugin installation again.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.