Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’
-
When trying to connect to a Drupal database I get the error below. I edited out some parts of the foldernames.
Fatal error: Uncaught Error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in /home/*****/staging/protinttowp.staging.*****.us/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php:522 Stack trace: #0 /home/*****/staging/protinttowp.staging.*****.us/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php(788): FG_Drupal_to_WordPress_Admin->drupal_connect() #1 /home/*****/staging/protinttowp.staging.*****.us/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php(328): FG_Drupal_to_WordPress_Admin->test_database_connection() #2 /home/*****/staging/protinttowp.staging.*****.us/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php(236): FG_Drupal_to_WordPress_Admin->dispatch(‘test_database’) #3 /home/*****/staging/protinttowp.staging.*****.us/wp-includes/class-wp-hook.php(286): FG_Drupal_to_WordPress_Admin->ajax_importer(”) #4 /home/*****/staging/protinttowp.staging.*****.us/wp-includes/class-wp-hook.php(310): WP_Hook- in /home/*****/staging/protinttowp.staging.*****.us/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php on line 522
The site is experiencing technical difficulties.
- The topic ‘Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’’ is closed to new replies.