• Resolved JanDominik

    (@jandominik)


    Hello,

    we are trying to use plugin for migrating PrestaShop v1.5.4 to Woocommerce WP 4.9.8, WC 3.4.4.

    We want to migrate only some 30 products and migration tool returns following error:
    === START import 2018-08-23 11:53:45 ===
    Connected with success to the PrestaShop database

    ( ! ) Fatal error: Uncaught Error: Call to a member function fetch() on boolean in /Applications/MAMP/htdocs/shop/wp-content/plugins/fg-prestashop-to-woocommerce/admin/class-fg-prestashop-to-woocommerce-admin.php on line 3228
    ( ! ) Error: Call to a member function fetch() on boolean in /Applications/MAMP/htdocs/shop/wp-content/plugins/fg-prestashop-to-woocommerce/admin/class-fg-prestashop-to-woocommerce-admin.php on line 3228
    Call Stack
    # Time Memory Function Location
    1 0.0078 401536 {main}( ) …/admin-ajax.php:0
    2 3.6087 77309592 do_action( ) …/admin-ajax.php:100
    3 3.6087 77309968 WP_Hook->do_action( ) …/plugin.php:453
    4 3.6087 77309968 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    5 3.6087 77311096 FG_PrestaShop_to_WooCommerce_Admin->ajax_importer( ) …/class-wp-hook.php:286
    6 3.6427 77312440 FG_PrestaShop_to_WooCommerce_Admin->dispatch( ) …/class-fg-prestashop-to-woocommerce-admin.php:242
    7 3.6445 77326496 FG_PrestaShop_to_WooCommerce_Admin->test_database_connection( ) …/class-fg-prestashop-to-woocommerce-admin.php:356
    8 3.6641 77368112 FG_PrestaShop_to_WooCommerce_Admin->import_configuration( ) …/class-fg-prestashop-to-woocommerce-admin.php:871
    9 3.6646 77368792 FG_PrestaShop_to_WooCommerce_Admin->get_prestashop_version( ) …/class-fg-prestashop-to-woocommerce-admin.php:1316
    10 3.6685 77368112 FG_PrestaShop_to_WooCommerce_Admin->column_exists( ) …/class-fg-prestashop-to-woocommerce-admin.php:1337

    I’m trying it with the minimum or requirements, so without medias and anything special but I still can’t migrate the products.

    Can you help us? We want to buy premium version for migration of customers too but at first of all we need to have working migration before we buy the plugin.

    Thank you,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kerfred

    (@kerfred)

    The database connection seems to be incorrect.
    What do you get in the logs when you click on “Test the database connection”?

    Thread Starter JanDominik

    (@jandominik)

    Database connection is ok i think according to logs first lines
    === START test_database 2018-08-24 07:18:19 ===
    Connected with success to the PrestaShop database

    Here is full log when i click test connection

    === START test_database 2018-08-24 07:18:19 ===
    Connected with success to the PrestaShop database

    ( ! ) Fatal error: Uncaught Error: Call to a member function fetch() on boolean in /Applications/MAMP/htdocs/ridepal/wp-content/plugins/fg-prestashop-to-woocommerce/admin/class-fg-prestashop-to-woocommerce-admin.php on line 3228
    ( ! ) Error: Call to a member function fetch() on boolean in /Applications/MAMP/htdocs/ridepal/wp-content/plugins/fg-prestashop-to-woocommerce/admin/class-fg-prestashop-to-woocommerce-admin.php on line 3228
    Call Stack
    # Time Memory Function Location
    1 0.0078 401648 {main}( ) …/admin-ajax.php:0
    2 2.7490 77317624 do_action( ) …/admin-ajax.php:100
    3 2.7490 77323632 WP_Hook->do_action( ) …/plugin.php:453
    4 2.7490 77323632 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    5 2.7490 77324760 FG_PrestaShop_to_WooCommerce_Admin->ajax_importer( ) …/class-wp-hook.php:286
    6 2.7570 77326104 FG_PrestaShop_to_WooCommerce_Admin->dispatch( ) …/class-fg-prestashop-to-woocommerce-admin.php:242
    7 2.7600 77334528 FG_PrestaShop_to_WooCommerce_Admin->test_database_connection( ) …/class-fg-prestashop-to-woocommerce-admin.php:337
    8 2.7800 77376216 FG_PrestaShop_to_WooCommerce_Admin->import_configuration( ) …/class-fg-prestashop-to-woocommerce-admin.php:871
    9 2.7803 77376896 FG_PrestaShop_to_WooCommerce_Admin->get_prestashop_version( ) …/class-fg-prestashop-to-woocommerce-admin.php:1316
    10 2.7848 77376216 FG_PrestaShop_to_WooCommerce_Admin->column_exists( ) …/class-fg-prestashop-to-woocommerce-admin.php:1337

    Plugin Author Kerfred

    (@kerfred)

    Could you open a ticket on https://www.fredericgilles.net/support/ ?
    And send your PrestaShop database through https://www.wetransfer.com and a screenshot of your settings ?
    We will investigate your issue.

    Thread Starter JanDominik

    (@jandominik)

    Ticket has been created, thanks.

    Plugin Author Kerfred

    (@kerfred)

    I have investigated in your database.
    Apparently it is not a PrestaShop database. The tables and the fields are not the same as in PrestaShop.
    So, it can’t be imported with FG PrestaShop to WooCommerce.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught error: function fetch() on boolean’ is closed to new replies.