When I visit this page /filter/tips it throws this error:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to Drupal\Component\Plugin\PluginManagerBase::createInstance() must be of the type array, null given, called in /Applications/XAMPP/xamppfiles/htdocs/complaincity.ct/modules/freelinking/src/Plugin/Filter/Freelinking.php on line 168 in Drupal\Component\Plugin\PluginManagerBase->createInstance() (line 71 of core/lib/Drupal/Component/Plugin/PluginManagerBase.php).
Drupal\Component\Plugin\PluginManagerBase->createInstance('builtin', NULL) (Line: 168)
Drupal\freelinking\Plugin\Filter\Freelinking->tips(1) (Line: 350)
_filter_tips(-1, 1) (Line: 30)
Drupal\filter\Controller\FilterController->filterTips(NULL)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
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}()
call_user_func_array(Object, Array) (Line: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 656)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Comments

admirernepali created an issue. See original summary.

mradcliffe’s picture

I fixed this issue in #2889493: Fix exception thrown when viewing tips. You may have just downloaded the module before that fix. Can you try the latest dev release?

Thanks.

mradcliffe’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

Changing status. I was not able to reproduce using simplytest.me.

admirernepali’s picture

Hi, I will test with latest version tonight.

admirernepali’s picture

Hi

Yeah, after updating to current version error is gone.

Also, all links are wrapped with div, which is why links are rendered in new/separate lines.

Any idea how to remove those div wrap?

mradcliffe’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Unable to reproduce either issue on latest release.