• Resolved calabronelampa

    (@calabronelampa)


    Hi,
    i have a huge error on my e-commerce when a user try to buy some product with bank transfer payment.

    The purchase goes well till the checkout. When i complete the order and push the button i can’t continue.

    I checked the log file and i found this:

    [06-Sep-2019 14:21:44 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_date_created() on boolean in /var/www/vhosts/tuvendi.it/httpdocs/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-order.php:324
    
    Stack trace:
    #0 /var/www/vhosts/tuvendi.it/httpdocs/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-cron-job.php(390): WCMp_Order::create_vendor_order(Array, true)
    
    #1 /var/www/vhosts/tuvendi.it/httpdocs/wp-includes/class-wp-hook.php(286): WCMp_Cron_Job->wcmp_orders_migration()
    
    #2 /var/www/vhosts/tuvendi.it/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    
    #3 /var/www/vhosts/tuvendi.it/httpdocs/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
    
    #4 /var/www/vhosts/tuvendi.it/httpdocs/wp-cron.php(133): do_action_ref_array('wcmp_orders_mig...', Array)
    
    #5 {main}
      thrown in /var/www/vhosts/tuvendi.it/httpdocs/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-order.php on line 324
    
    [06-Sep-2019 14:21:46 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'search_url_rewrite_rule' not found or invalid function name in /var/www/vhosts/tuvendi.it/httpdocs/wp-includes/class-wp-hook.php on line 286
    
    [06-Sep-2019 15:31:31 UTC] PHP Parse error:  syntax error, unexpected ''ora di adempiere il tuo ordin' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ')' in /var/www/vhosts/tuvendi.it/httpdocs/wp-content/themes/child-theme-tuvendi-it/woocommerce/emails/customer-on-hold-order.php on line 54

    Is it possible to fix it ?

    Now every user can’t buy with bank transfer payment.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @calabronelampa , sorry to hear that you have faced this issue.

    Our team is looking into this. I will keep you posted.

    The error log you have shared, isn’t created at the time of checkout.

    Now, thoese error occurs when there is no order at the time of migration. this issue has been fixed in our github.

    So, after downloading the plugin from here – https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/archive/master.zip, follow these steps :

    – Delete the installed WC Marketplace via wp-admin >> plugin
    – Unzip the GitHub plugin
    – Rename the folder as “dc-woocommerce-multi-vendor” and remove the master tag. Now, zip this folder again.
    – Install this plugin on your site.

    Now it seems like the checkout issue might be due to some plug in or theme conflict.

    Just to be sure disable all the plugins except woocommerce and wcmp for testing purposes. If the issue still exists, please switch to some default theme like Twnety Sixteen and check again.

    Please do keep us posted.

    Thread Starter calabronelampa

    (@calabronelampa)

    Hi,
    i tried the solution on my child theme and it doesn’t work.
    If i change with the original theme it works very well.

    The problem is that i did some customize on your plug-in and if i leave active the original theme, i will lost all.

    Do u have any suggest to fix this on the child-theme ?

    Thanks.

    @calabronelampa, I would request you to check the error under the browser network tab. Also, enable the debug mode and see if there is any error reported.

    Another option will be to comment out the custom code and see which code is causing this issue.

    Thread Starter calabronelampa

    (@calabronelampa)

    Hi,
    in the end i resolved activating the original theme and move on on function.php. file all the customize that i did on the child theme.

    Thanks.

    It seems like the custom codes might be causing this issue.

    So, kindly comment out each code and check them one by one.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Huge Error Checkout Page – Internal Server Error’ is closed to new replies.