- Issue created by @vlooi vlerke
- First commit to issue fork.
- @elber opened merge request.
- Status changed to Needs review
over 1 year ago 11:00am 8 August 2023
Location
/admin/expense-tracker/income-reports
Referrer
/admin/expense-tracker/income-expense-statements
Message
Error: Class "Symfony\Cmf\Component\Routing\RouteObjectInterface" not found in Drupal\expense_tracker\Form\ReportFilterForm->buildForm() (line 75 of \modules\contrib\expense_tracker\src\Form\ReportFilterForm.php).
Install latest Druapl 10 and this module and visit /admin/expense-tracker/income-reports
Website encounterd an error page appears
Use Drupal's RouteObjectInterface Fixes Drupal 10 compatibility
in \modules\contrib\expense_tracker\src\Form\ReportFilterForm.php
namespace Drupal\expense_tracker\Form;
- use Symfony\Cmf\Component\Routing\RouteObjectInterface;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
To
namespace Drupal\expense_tracker\Form;
+ use Drupal\Core\Routing\RouteObjectInterface;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
Needs review
1.3
Code