Problem/Motivation
Warning: Undefined variable $entity in webform_authorize_net_payment_form_alter() (line 47 of modules/contrib/authorized_payment/webform_authorize_net_payment.module).
webform_authorize_net_payment_form_alter(Array, Object, 'webform_filter_form') (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'webform_filter_form') (Line: 840)
Drupal\Core\Form\FormBuilder->prepareForm('webform_filter_form', Array, Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm('\Drupal\webform\Form\WebformEntityFilterForm', Object) (Line: 224)
Drupal\Core\Form\FormBuilder->getForm('\Drupal\webform\Form\WebformEntityFilterForm', '', '', '', Array) (Line: 223)
Drupal\webform\WebformEntityListBuilder->buildFilterForm() (Line: 165)
Drupal\webform\WebformEntityListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('webform')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined variable $entity in webform_authorize_net_payment_form_alter() (line 47 of modules/contrib/authorized_payment/webform_authorize_net_payment.module).
webform_authorize_net_payment_form_alter(Array, Object, 'webform_bulk_form') (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'webform_bulk_form') (Line: 840)
Drupal\Core\Form\FormBuilder->prepareForm('webform_bulk_form', Array, Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm('\Drupal\webform\Form\WebformEntityBulkForm', Object) (Line: 224)
Drupal\Core\Form\FormBuilder->getForm('\Drupal\webform\Form\WebformEntityBulkForm', Array) (Line: 177)
Drupal\webform\WebformEntityListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('webform')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce
set $config['system.logging']['error_level'] = 'verbose';
in settings.php
Install module.
Go to /admin/structure/webform /admin/config/services/auth_payment
It is also writing this to the dblog (/admin/reports/dblog) for every page load.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes