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

Command icon 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

geoflink created an issue. See original summary.

geoflink’s picture

Issue summary: View changes