wordpress-socializr icon indicating copy to clipboard operation
wordpress-socializr copied to clipboard

Getting fatal error

Open PrafullaKumarSahu opened this issue 9 years ago • 1 comments

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

PrafullaKumarSahu avatar Jan 20 '16 08:01 PrafullaKumarSahu

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');

kish2011 avatar Jan 05 '17 15:01 kish2011