Closed (fixed)
Project:
BugHerd
Version:
8.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2023 at 10:23 UTC
Updated:
17 Oct 2023 at 19:19 UTC
Jump to comment: Most recent
After updating from Drupal 9.5.9 to 10.0.9 I received the error:
Error: Class "Laminas\Escaper\Escaper" not found in bugherd_page_attachments() (line 44 of modules/contrib/bugherd/bugherd.module).
Tried to install laminas/laminas-escaper (2.12.0) with:
composer require laminas/laminas-escaper
It was installed, but the error still appears.
Upgrade Drupal to 10.0.9
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 #2
almador commentedComment #3
anup.singh commentedWorked for me after
Comment #6
shreya_th commentedHi @kwashd,
As per my knowledge replaced the usage of the Laminas Escaper with the Symfony Escaper by updating the use statement and changing the instantiation of the Escaper class. I think this solve the issue .
Also created MR for this issue . Kindly review the changes .
Thank you.
Comment #7
phjouThe fix doesn't seem to work, I am reverting the change to use a composer dependency.
Comment #9
phjouOk I pushed a composer fix , the error seems gone for me after updating the module. Let me know if you still encounter issues.
Comment #10
phjou