Fatal Error: Undefined Constant | WordPress.org

[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 Error

The 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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer