Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Возникла AJAX HTTP ошибка.
Полученный код HTTP: 200
Следует отладочная информация.
Путь: /system/ajax
Текст Состояния: OK
Текст Ответа:
( ! ) Fatal error: Call to undefined function commerce_shipping_recalculate_services_validate() in /home/vvs/projects/htdocs/z.my/includes/form.inc on line 1465
Call Stack
#TimeMemoryFunctionLocation
10.0002386588{main}( )../index.php:0
20.607033751180menu_execute_active_handler( $path = ???, $deliver = ??? )../index.php:21
30.607133751624call_user_func_array
( 'ajax_form_callback', array () )../menu.inc:517
40.607133751756ajax_form_callback( )../menu.inc:517
50.683834032800drupal_process_form( $form_id = 'commerce_checkout_form_checkout', $form = array ('#attached' => array ('css' => array (...), 'js' => array (...)), 'cart_contents' => array ('cart_contents_view' => array (...), '#type' => 'fieldset', '#title' => 'Содержимое корзины', '#collapsible' => '0', '#collapsed' => '0', '#attributes' => array (...), '#tree' => TRUE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0, '#processed' => TRUE, '#required' => FALSE, '#title_display' => 'before', '#id' => 'edit-cart-contents--2', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'customer_profile_billing' => array ('#parents' => array (...), '#prefix' => '<div id="customer-profile-billing-ajax-wrapper">', '#suffix' => '</div>', 'rendered_profile' => array (...), 'edit_button' => array (...), '#type' => 'fieldset', '#title' => 'Платёжная информация', '#collapsible' => '0', '#collapsed' => '0', '#attributes' => array (...), '#tree' => TRUE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#array_parents' => array (...), '#weight' => 0.001, '#processed' => TRUE, '#required' => FALSE, '#title_display' => 'before', '#id' => 'edit-customer-profile-billing--2', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'customer_profile_shipping' => array ('#parents' => array (...), 'customer_profile' => array (...), '#entity' => class stdClass { ... }, 'commerce_customer_address' => array (...), '#pre_render' => array (...), '#entity_type' => 'commerce_customer_profile', '#bundle' => 'shipping', '#prefix' => '<div id="customer-profile-shipping-ajax-wrapper">', '#suffix' => '</div>', 'commerce_customer_profile_copy' => array (...), '#type' => 'fieldset', '#title' => 'Информация о доставке', '#collapsible' => '0', '#collapsed' => '0', '#attributes' => array (...), '#tree' => TRUE, '#value' => NULL, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#array_parents' => array (...), '#weight' => 0.002, '#processed' => TRUE, '#required' => FALSE, '#title_display' => 'before', '#id' => 'edit-customer-profile-shipping--2', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'buttons' => array ('#type' => 'fieldset', '#attributes' => array (...), 'continue' => array (...), 'back' => array (...), '#collapsible' => FALSE, '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.003, '#processed' => TRUE, '#required' => FALSE, '#title_display' => 'before', '#id' => 'edit-buttons--2', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#validate' => array (), '#submit' => array (), '#form_id' => 'commerce_checkout_form_checkout', '#type' => 'form', '#build_id' => 'form-KN3s8GyM7YDFwthXkKqfbpGXvzAZT8U0-EkScC_UCgk', 'form_build_id' => array ('#type' => 'hidden', '#value' => 'form-KN3s8GyM7YDFwthXkKqfbpGXvzAZT8U0-EkScC_UCgk', '#id' => 'form-KN3s8GyM7YDFwthXkKqfbpGXvzAZT8U0-EkScC_UCgk', '#name' => 'form_build_id', '#parents' => array (...), '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#array_parents' => array (...), '#weight' => 0.004, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#token' => 'commerce_checkout_form_checkout', 'form_token' => array ('#id' => 'edit-commerce-checkout-form-checkout-form-token', '#type' => 'token', '#default_value' => 'ZevUcR1RTrJPD2RSuZbs7Vc0PHE6-pD1TELqbtxTg74', '#parents' => array (...), '#input' => TRUE, '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#array_parents' => array (...), '#weight' => 0.005, '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#name' => 'form_token', '#value' => 'ZevUcR1RTrJPD2RSuZbs7Vc0PHE6-pD1TELqbtxTg74', '#needs_validation' => TRUE, '#sorted' => TRUE, '#validated' => TRUE), 'form_id' => array ('#type' => 'hidden', '#value' => 'commerce_checkout_form_checkout', '#id' => 'edit-commerce-checkout-form-checkout', '#parents' => array (...), '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#array_parents' => array (...), '#weight' => 0.006, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#name' => 'form_id', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#id' => 'commerce-checkout-form-checkout', '#method' => 'post', '#action' => '/checkout/1/checkout', '#theme_wrappers' => array (0 => 'form'), '#tree' => FALSE, '#parents' => array (), '#theme' => array (0 => 'commerce_checkout_form_checkout', 1 => 'commerce_checkout_form'), '#attributes' => array ('class' => array (...)), 'commerce_shipping' => array ('shipping_service' => array (...), 'recalculate' => array (...), '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.007, '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-commerce-shipping', '#validated' => TRUE), '#cache_token' => 'Au3PTKRDAAzC2DzlDj0YN7E5tgxeJtW7OB9b797s3H8', '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#title_display' => 'before', '#array_parents' => array (), '#sorted' => TRUE), $form_state = array ('build_info' => array ('args' => array (...), 'form_id' => 'commerce_checkout_form_checkout', 'files' => array (...), 'base_form_id' => 'commerce_checkout_form'), 'programmed' => FALSE, 'cache' => TRUE, 'order' => class stdClass { public $order_number = '1'; public $revision_id = '15'; public $revision_uid = '1'; public $mail = 'test@e-mail.ru'; public $status = 'checkout_s
Comments
Comment #1
VVS CreditAttribution: VVS commentedComment #2
googletorp CreditAttribution: googletorp commentedI don't think this is a commerce_shipping issue, feel free to reopen if you think otherwise.