Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting fatal error #4

Open
PrafullaKumarSahu opened this issue Jan 20, 2016 · 1 comment
Open

Getting fatal error #4

PrafullaKumarSahu opened this issue Jan 20, 2016 · 1 comment

Comments

@PrafullaKumarSahu
Copy link

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

@kish2011
Copy link

kish2011 commented Jan 5, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants