Steps to reproduce

After enabling this module we went to /admin/config/regional/ai_translate and tried to send "User interface translator", it threw an error

Error: Cannot initialize readonly property Drupal\ai_translator\Form\TranslatorForm::$localeStorage from scope Drupal\Core\Form\FormBase in Drupal\Core\Form\FormBase->__wakeup() (line 89 of core\lib\Drupal\Core\DependencyInjection\DependencySerializationTrait.php).

I've attached an image illustrating my actions—installing the module and searching within the extend panel.

CommentFileSizeAuthor
ai trans..png91.95 KBaman_lnwebworks
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

aman_lnwebworks created an issue. See original summary.

aman_lnwebworks’s picture

Assigned: aman_lnwebworks » Unassigned
Status: Active » Needs review

Hi @psf_ @luismagr

I have created MR!2 for the above issue, Please review it once.

Thank you

psf_’s picture

Hi @aman_lnwebworks,

Thx by the patch.

What PHP version are you using?

aman_lnwebworks’s picture

I am using PHP version 8.1.10

psf_’s picture

I see, thx : ) It's merged

psf_’s picture

Status: Needs review » Fixed
psf_’s picture

Status: Fixed » Closed (fixed)