Hi cilefen,
I found the problem is with the bootstrap barrio theme upgrade to 5.5.12. I created a subtheme from it previously. I have another version of the site working fine with 5.5.9 so i did incremental upgrades of the theme and found 5.5.12 breaks the login for some reason. I rolled the theme so we can close this issue. At least it has some information in it. :D
Thank you so much for your help advising me. :)
Hi @cilefen,
Yes, I agree there is a lot of strange logging making it hard to dissect. This site i believe has been upgraded from drupal 7 -> 8.9 -> 9, on Apache running a legacy-project upgrade and Ive been having issues with since I think 9.3.
I also created a clean legacy 9.5.9 on the server to create a development environment. I copied the database from production. This environment has the same bugs. :(
That being said I am now trying to created a development drupal with 9.5.9 and php 8.1.17 to test which module may be the one interfering with the user.module
I will report back when i get any farther ahead. Thank you!!
When user is logged in with php 7.1.11
https://example.com/user/34493/edit?check_logged_in=1&pass-reset-token=v...
Warning: Illegal string offset '_original_delta' in Drupal\Core\Field\WidgetBase->extractFormValues() (line 391 of /home/jk7exiton6ol/public_html/core/lib/Drupal/Core/Field/WidgetBase.php)
#0 /home/jk7exiton6ol/public_html/core/includes/bootstrap.inc(347): _drupal_error_handler_real(2, 'Illegal string ...', '/home/jk7exiton...', 391)
however the bug fix for this i have implemented
//
https://www.drupal.org/files/issues/2021-12-27/2991986-16.patch →
if (is_array($value)) {
$value['_original_delta'] = $delta;
}
I hope this helps. :)
@cilefen I will test any of the modules for that impact. It has taken a while to figure out the php production environment so i could try to create a drupal core install with the proper php to continue forward but if anyone has ideas on where to look googling has not been as forthcoming for me. :)
Drupal 9.5.9
Php 7.4.11
https://example.com/user/register is location and the below shows
InvalidArgumentException: $string ("Create new account") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 133 of /home/jk7exiton6ol/public_html/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php)
I appologize if I am going in circles with bug fixes. My Drupal is limited. :)
This i also see an error for all admin pages with
The website encountered an unexpected error. Please try again later. related to the above.
I will keep digging for warnings in the reports
While this may seem like none related, I have updated the core drupal 9.5.9
with these tickets and I still cant find the root cause of my errors. They are as follows:
https://www.drupal.org/files/issues/2021-12-27/2991986-16.patch →
/core/lib/Drupal/Core/Field/WidgetBase.php
//modified line 388ish will find comments in file for the location
offset '_original_delta' error
https://www.drupal.org/files/issues/2023-01-25/date-view-filter-core_0.p... →
/core/modules/views/src/Plugin/views/filter/Date.php
https://www.drupal.org/files/issues/2023-03-28/2719553-50.patch →
/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php
/core/modules/locale/src/LocaleConfigManager.php
https://www.drupal.org/files/issues/2022-12-24/3328962-5.patch →
core/modules/user/src/AccountForm.php -- user password reset
chansenemtp → created an issue.
Hi,
I am answering my own question. :)
The password reset fails in the throbber but also on the reset password tab. This is not a result of the fancy_login but Drupal 9.4 patches on the error in the console regarding:
user/register output:
Warning: Illegal string offset '_original_delta' in Drupal\Core\Field\WidgetBase->extractFormValues() (line 391 of /home/jk7exiton6ol/public_html/core/lib/Drupal/Core/Field/WidgetBase.php)
Patch:
https://www.drupal.org/project/drupal/issues/2991986
🐛
Illegal string offset '_original_delta'
Needs work
AND THIS:
TypeError: key(): Argument #1 ($array) must be of type array, string given in key() (line 362 of core/modules/user/src/AccountForm.php).
Patch:
https://www.drupal.org/project/drupal/issues/3328962
🐛
TypeError: key(): Argument #1 ($array) must be of type array, string given in key()
Needs work
added this:
https://www.drupal.org/files/issues/2022-12-24/3328962-5.patch →
chansenemtp → created an issue.