wordpress-socializr
wordpress-socializr copied to clipboard
Getting fatal error
when activating the plugin I am getting this error
Catchable fatal error: Argument 1 passed to Illuminate\Database\Connection::__construct() must be an instance of PDO, instance of Closure given, called in E:\plugins\Analytica\vendor\illuminate\database\Connectors\ConnectionFactory.php on line 220 and defined in E:\work\www\test\wp-content\plugins\wordpress-socializr-master\vendor\illuminate\database\Connection.php on line 142
Here is the solution:
Edit wp-config.php
And set DB_CHARSET and DB_COLLATION like below
define('DB_CHARSET', 'utf8mb4');
define('DB_COLLATE', 'utf8mb4_unicode_ci');