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
| Comment | File | Size | Author |
|---|---|---|---|
| log_apache.txt | 6.78 KB | darkjam |
Issue fork admin_toolbar-3300243
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 #2
darkjam commentedOther administration pages have the same error.
Extension has been removed
Unable to admin site with active extension.
Comment #3
sophiavs commentedI'll try to work on this
Comment #4
sophiavs commentedI couldn't reproduce the error.
Can you specifies the steps to reproduce this error?
That was a error message? In case it isn't what is the new field you are trying to set?
Comment #5
sophiavs commentedComment #6
darkjam commentedSorry,
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
Comment #7
jsricardo commentedI Will try fix this error
Comment #8
jsricardo commentedSorry
I could not reproduce this error.
I added the extension and updated, however, no error occurred
Comment #9
romainj commentedComment #10
darkjam commentedLe passage à PHP 8.1.2 sur Ubuntu server a supprimer l'erreur.