The website encountered an unexpected error.

Created on 23 November 2023, 7 months ago

Problem/Motivation

Visiting configuration page of this module and clicking button Generate Configured Directory error occurs.

Steps to reproduce

- After installing and enabling the module.
- Visited this page admin/config/ppf.
- Clicking button Generate Configured Directory.

Proposed resolution

Am getting this error on front -- The website encountered an unexpected error. Please try again later. and drupal log message

Error: Class "Symfony\Component\Filesystem\Filesystem" not found in Drupal\ppf\Form\PPFConfigurationForm->generateConfiguredDirectory() (line 219 of /opt/lampp/htdocs/develop/web/modules/contrib/ppf/src/Form/PPFConfigurationForm.php)
#0 [internal function]: Drupal\ppf\Form\PPFConfigurationForm->generateConfiguredDirectory(Array, Object(Drupal\Core\Form\FormState))
#1 /opt/lampp/htdocs/develop/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array(Array, Array)
#2 /opt/lampp/htdocs/develop/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState))

Provide way that this Symfony\Component\Filesystem\Filesystem can be enforce for module to be enabled or leave message upon enabling the module for developer to explicit check if project have Symfony\Component\Filesystem\Filesystem installed.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡ΌMalawi chancenyasulu

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024