Problem/Motivation
I am on Drupal 9.5, php 8.1.34
When I perform a drush cr: I get the error:
PHP Fatal error: Trait "Drupal\focal_point\Controller\AjaxHelperTrait" not found in /web/modules/contrib/focal_point/src/Controller/FocalPointPreviewController.php on line 27
Fatal error: Trait "Drupal\focal_point\Controller\AjaxHelperTrait" not found in /web/modules/contrib/focal_point/src/Controller/FocalPointPreviewController.php on line 27
Steps to reproduce
Do a drush cr
Proposed resolution
Go to web/modules/contrib/focal_point/src/Controller/FocalPointPreviewController.php
and add on line 21: use Drupal\Core\Ajax\AjaxHelperTrait;
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork focal_point-3606059
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
geoflink commented