Fatal Error while activating plugin
-
Hi,
I tried to install “Reaction Buttons” on my machine and I am getting error as below
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in C:\xampp\htdocs\wp\wp-content\plugins\reaction-buttons\reaction_buttons.php on line 1494 and exactly 2 expected in C:\xampp\htdocs\wp\wp-includes\wp-db.php:1291 Stack trace: #0 C:\xampp\htdocs\wp\wp-content\plugins\reaction-buttons\reaction_buttons.php(1494): wpdb->prepare(‘UPDATE wp_postm…’) #1 C:\xampp\htdocs\wp\wp-content\plugins\reaction-buttons\reaction_buttons.php(567): reaction_buttons_upgrade_v200() #2 C:\xampp\htdocs\wp\wp-admin\includes\plugin.php(1882): include(‘C:\\xampp\\htdocs…’) #3 C:\xampp\htdocs\wp\wp-admin\plugins.php(164): plugin_sandbox_scrape(‘reaction-button…’) #4 {main} thrown in C:\xampp\htdocs\wp\wp-includes\wp-db.php on line 1291My machine configuration are as below:
Wordpress version: 4.8 with Twenty Seventeen theme. Same issue with WordPress version 4.7.5
PHP version: 7.1.1
mysqli: mysqlnd 5.0.12-dev – 2015040Please let me know if you need more details?
Can you please let me know what is the issue? I am looking for solution asap.
Thank you
Chaitanya
- The topic ‘Fatal Error while activating plugin’ is closed to new replies.