[ad_1]
Hi
I want to migrate a joomla website to wordpress but I get the following error every time:
Fatal error: Uncaught Error: Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND in /var/www/html/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php:598 Stack trace: #0 /var/www/html/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php(1015): FG_Joomla_to_WordPress_Admin->joomla_connect() #1 /var/www/html/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php(425): FG_Joomla_to_WordPress_Admin->test_database_connection() #2 /var/www/html/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php(253): FG_Joomla_to_WordPress_Admin->dispatch('import') #3 /var/www/html/wp-includes/class-wp-hook.php(308): FG_Joomla_to_WordPress_Admin->ajax_importer('') #4 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_fgj2wp_...') #7 {main} thrown in /var/www/html/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php on line 598
Critical ErrorThe wordpress environment is a test site running on docker. I could image that a database value from the joomla database is wrong but I am not sure.
Thank you for your help and best regards
