Problem/Motivation

Server : Ubuntu 22.04
PHP 8.1.2
mariadb : 10.6.7
drupal :9.4.3
Error message from Firefox : The website encountered an unexpected error. Please try again later.

If the field is a new field, it is not possible to set it.
Error log from apache : see file log_apache.txt
error PHP

Steps to reproduce

Update the module to 3.1.1
No problem with 3.1.0

Proposed resolution

No flag " Recommended by the project’s maintainer." if test fall for PHP 8.1
On latest Ubuntu LTS, PHP 8.1 is the default version.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
log_apache.txt6.78 KBdarkjam
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

darkjam created an issue. See original summary.

darkjam’s picture

Other administration pages have the same error.
Extension has been removed
Unable to admin site with active extension.

sophiavs’s picture

Assigned: Unassigned » sophiavs

I'll try to work on this

sophiavs’s picture

I couldn't reproduce the error.
Can you specifies the steps to reproduce this error?

If the field is a new field, it is not possible to set it.

That was a error message? In case it isn't what is the new field you are trying to set?

sophiavs’s picture

Assigned: sophiavs » Unassigned
darkjam’s picture

Sorry,
I didn’t see your answer.
The depth of the submenu seems to impact the errors. The higher the number (>4), the larger the administration pages become with this error : The website encountered an unexpected error. Please try again later.
In the apache log (attached), we can see the following error: ArgumentCountError: Too few arguments to function Drupal admin_toolbar_tools AdminToolbarToolsHelper::__construct()

Best Regard

jsricardo’s picture

Assigned: Unassigned » jsricardo

I Will try fix this error

jsricardo’s picture

Assigned: jsricardo » Unassigned

Sorry
I could not reproduce this error.
I added the extension and updated, however, no error occurred

romainj’s picture

Status: Active » Closed (cannot reproduce)
darkjam’s picture

Le passage à PHP 8.1.2 sur Ubuntu server a supprimer l'erreur.