Remove Deprecated functions

Created on 17 September 2024, 3 months ago

Problem/Motivation

On a fresh Drupal 10.3.5 install, right after creating a register and going to /admin/commerce/pos/main, 3 errors are shown:

  1. Deprecated function: Creation of dynamic property Drupal\Core\Form\FormState::$wrapper_id is deprecated in Drupal\commerce_pos\Form\POSForm->buildOrderForm() (line 175 of modules/contrib/commerce_pos/src/Form/POSForm.php).
  2. Deprecated function: Creation of dynamic property Drupal\commerce_pos\Plugin\Field\FieldWidget\PosOrderItemWidget::$is_edit_order is deprecated in Drupal\commerce_pos\Plugin\Field\FieldWidget\PosOrderItemWidget->formElement() (line 225 of modules/contrib/commerce_pos/src/Plugin/Field/FieldWidget/PosOrderItemWidget.php).
  3. Deprecated function: Creation of dynamic property Drupal\commerce_pos\Plugin\Field\FieldWidget\PosOrderItemWidget::$initial_items_on_order is deprecated in Drupal\commerce_pos\Plugin\Field\FieldWidget\PosOrderItemWidget->formElement() (line 227 of modules/contrib/commerce_pos/src/Plugin/Field/FieldWidget/PosOrderItemWidget.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024