Drupal the Website Encountered an Unexpected Error. Please Try Again Later
I am trying to update my to Drupal core 8.2.3 to eight.two.5 @ https://cpanel-dept2-dev-onstott.princeton.edu
All is well until the update the cadre/lib binder, I continue to go a "The website encountered an unexpected error. Please attempt again later."
Please advise on how to update Core without incurring this error.
Thanks.
Support from Acquia helps fund testing for Drupal
Source: https://www.drupal.org/project/drupal/issues/2841378
Comments
Comment #2
cilefen Credit Attribution: cilefen as a volunteer commented
You must consult the PHP error log to know what is going on here. I am wondering about the upgrade process employed based on the outcome summary. The usual procedure is to update files en-masse.
Have aforementioned effect. Was in that location a solution or did you revert?
After applying the cadre patch from https://www.drupal.org/node/2786443, I was able to get a more detailed error message relating to the update. The update then throws the error:
RuntimeException: Unable to determine class for field type 'address' found in the 'field.storage.profile.address' configuration in Drupal\field\FieldStorageConfigStorage->mapFromStorageRecords() (line 157 of core/modules/field/src/FieldStorageConfigStorage.php).
Subsequently updating a requirement for commerce and the addressing module in composer, the detailed error was cleared out. Now I simply accept an unexpected error bulletin with no details.
Comment #five
cilefen Credit Attribution: cilefen as a volunteer commented
If there is a 500 fault something is logged.
cilefen. That is truthful, however the log nor whatever page tin can exist reached. They all generate an unexpected mistake with no additional information. I take checked the database and cannot find sufficient information in watchdog to endeavor to back trace the issue.
Hi, have you tried to revert your modify and and so accessing your log once more?
Comment #9
cilefen Credit Attribution: cilefen as a volunteer commented
You must check the web server fault log.
I recently took the site dorsum to it original version. I will endeavor to practice the update once more looking for what the Alert Logs have to say.
Stay tuned and thank you.
grand.g
I was able to endeavour a Cadre 8.2.5 update again. This time I did an incremental update binder past folder.
At the moment I am getting the error in both Safari and Firefox: "The website encountered an unexpected fault. Please try again later."
Chrome is non experiencing the mistake and I am able to see my fault logs:
Home Administration Reports Recent log messages
Blazon php
Date Friday, January 13, 2022 - xv:12
User Anonymous (non verified)
Location https://cpanel-dept2-dev-onstott.princeton.edu/admin/reports/dblog
Referrer
Message UnexpectedValueException: External URLs do not have an internal route name. in Drupal\Core\Url->getRouteName() (line 554 of /home/geowebonstott/public_html/core/lib/Drupal/Core/Url.php).
At that place is too an assess denied error:
Habitation Administration Reports Contempo log messages
Type access denied
Date Friday, January xiii, 2022 - 15:12
User Bearding (not verified)
Location https://cpanel-dept2-dev-onstott.princeton.edu/admin/reports/dblog
Referrer
Message /admin/reports/dblog
Severity Alarm
Even so CRON ran successfully:
Abode Administration Reports Recent log messages
Type cron
Appointment Friday, January 13, 2022 - 15:x
User Bearding (not verified)
Location https://cpanel-dept2-dev-onstott.princeton.edu/
Referrer
Message Cron run completed.
I am going to clear my history and restart chrome to see if it gets the error.
g.g
Ref: https://cpanel-dept2-dev-onstott.princeton.edu
As suspected, after clearing the cache and restarting Chrome, I tin no longer admission the website. I get the same error.
I do hope that the reports in a higher place help in finding a resolution to getting this version updated.
Thank you and so much for yous support with this issue.
yard.g
Then I was able to fix my issue. Apparently there were several tables which did not make it properly through the needed updates. Have you attempted to update off a make clean database? If you are able, which again was the case for us, then you could migrate the information later the fact to match the correct format.
I did the install once again. Currently I take the Error log folio open:
It has also logs:
Message UnexpectedValueException: External URLs do not have an internal route name. in Drupal\Core\Url->getRouteName() (line 554 of /domicile/geowebonstott/public_html/cadre/lib/Drupal/Core/Url.php).
Severity Error
Hostname 128.112.21.175
Getting this error on the homepage:
The website encountered an unexpected error. Delight attempt again after.
I accept attached an screen shot of the list of errors.
Please propose on what to practise next.
In the update process it talks about updating the settings.php page with the data from the default.settings.php, listed below. Is that a process that needs to be done?
Or do you see another issue?
Cheers for your quick response @cilefen. Great that is good news that I do non need the actress step.
In my module binder on the installation-root: admin toolbar, asset injector, contri, libraries, superfish, and weight are listed.
Do y'all think information technology has something to practice with the libraries? Did I read in the notes that they have been moved?
Much appreciated, grand.g
Comment #xviii
cilefen Credit Attribution: cilefen as a volunteer commented
The concluding time with the same error it was superfish, if memory serves.
I had an issue with Superfish not be in order in the dropdown. That was in a different thread.
What would be an appropriate mode to prepare this? Would I loose my menu if I disable information technology to test?
Or should I merely rewrite the module files?
m.g
Thank you for the reminder. Let me endeavor that once over again. I idea my upshot was with Biblio at the time.
I took off all instances, but had another site with Biblio. Will study back if this works.
Volition you exist that the Central NJ Drupal Con?
Endmost this mystery. Ending with a Large FAT Cheers!
After thinking my update issue was new, information technology turned out to exist a indistinguishable issue with Superfish and the Drupal 8.two.5 update. This patch instantly solved my problem.
Thank you you so much! At present I can go almost my progress work instead of returning back to this issue.
g.chiliad
We must show the detail of error beginning. Afterwards that volition know how to ready.
I re-create here FYI form https://drupal.stackexchange.com/questions/49905/the-website-encountered...
"If using drush, just practice: drush vset error_level 1.
Otherwise, go to /admin/config/development/logging and modify the setting to "Errors and Warnings"
Drupal viii
Instead of drush vset/vget/vdel, you can use cset/cget/cdel for config values and sset/sget/sdel for land values."
I have done a Backup restore on from my Drupal 8.two.10 website and database, and at present I can access but the front page. If I click whatsoever other page I get the mistake that
"The website encountered an unexpected mistake. Please attempt once more later on."
I can not admission the admin account to cheque the Drupal report,
I have desperately searched the Drupal Forum for a solution merely I could not observe any.
I did core upgrade from 8.2.x to 8.3.5, the site worked at outset but when I ran database update the whole website was messed upwards and the has to restore the site from server Backup, but now I have this issue. Please notation that the fill-in is from fully functional website.
Delight let me know how I can solve this. (the website mhe-krg.org)
THIS Outcome IS SOLVED As Mistake LOG WAS CLEAR
[Thu Jul 13 14:x:35.507718 2017] [proxy_fcgi:mistake] [pid 1118:tid 140359388620544] [client xxxxx] AH01071: Got error 'PHP message: Uncaught PHP Exception RuntimeException: "Missing $settings['hash_salt'] in settings.php." at /var/www/vhosts/xxxx/httpdocs/core/lib/Drupal/Core/Site/Settings.php line 140\due north
The website encountered an unexpected mistake. Please try again afterward. sharemessages drupal 8
I've revolved via this animal force method, nearly the last steps before wiping a large D8 site. After upgrading an existing site'due south core to D8.50, I got the dreaded "The website encountered an unexpected error. Please try again later.". The solution that worked in many cases, including this one was appending site.com/install.php After [enter], the site firsthand launches the blue UI, in the site.com/update.php folio, assuasive to go along on with the upgrade process. If you look your filesystem notice that several folders and file's permissions get flipped subsequently running install/update multiple times after encountering the "The website encountered an unexpected fault" error. Proficient luck!
Comment #27
Maplinx Credit Attribution: Maplinx every bit a volunteer commented
Ran into similar trouble after installing D v 8.5.ane. Was unable to run settings on a sub_theme installation, also could non run update.php stalled by error message "The website encountered an unexpected mistake. Please try again after." Cheers to @maine_inventor #26 whose suggstion to effort running "site.com/install.php" helped as information technology revealed the culprit module 'Page Manager' in my case. Uninstalling resolved the issue. Past the way I too realised that upgrading php from v.6 to v7.1 in php manager (root access) triggerred like mistake message. My understanding was that D v viii.five.ane was meant to run on php v7>. I may exist missing something hither.
Getting this message on an upgrade from viii.4->8.5
Comment #29
cilefen Credit Attribution: cilefen equally a volunteer commented
I just want to bespeak out to commenters that this is a airtight back up asking. Open up new issues please.
Getting message "The website encountered an unexpected error. Please endeavor again later."on an upgrade from eight.4->viii.5
Afterwards uninstalling module "Page Manager" every bit @Maplinx wrote, the problem is resolved.
Comment #31
JM_Choi Credit Attribution: JM_Choi equally a volunteer commented
I had the aforementioned problem of the white page maxim "The website encountered an unexpected error. Please endeavour again later.". I checked cPanel and it says ea-php56 (inherited). Surprisingly drupal eight.6 installations went through that is why I did non notice in the first place. In that location should be waring or something saying " Sir you are installing Drupa eight in a system of PHP v.6 version, PHP 7.0 or higher is recommended during the installation phase, NOt THE Afterward". Yeah, information technology was I went to WHM inverse the default PHP to 7.0 but still, the problem persists. I had to uninstall Drupal 8 and reinstall nether PHP 7.0.
You know this reminds me of a critical software blueprint issue. if Drupal cadre is not checking its environs like PHP information technology will ever exist a trouble every fourth dimension core updates because PHP version would exist an old 1 and updating PHP after doesn't impact existing Drupal cadre.
Hope my post helps someone in a similar instance.
Comment #32
cilefen Credit Attribution: cilefen as a volunteer commented
I just desire to signal out to commenters that this is a closed support request. Open new issues please.
Getting bulletin "The website encountered an unexpected mistake.
After uninstalling module "Context"
Comment #34
cilefen Credit Attribution: cilefen equally a volunteer commented
I just want to point out to commenters that this is a closed support request. Open new issues delight.
Greetings anybody here, am new to drupal and take found information technology really interesting merely also accept niggling knowledge of coding but tin can follow advisedly, I need help "my website was working fine just merely stopped working later on computer restart and it only says " the website has encountered a trouble, try again after" but this came after Increased the mail max size and file postal service size in the ht admission file, because it first worked well but subsequently refused. Secondly when I went around cpanel in the php pear packages under using php extensions and applications it says "ini_set("include_path", '/python/Semo/php:' .ini_get("include_path")); I only suspect the problem is here only also still tin't tell where to find the include path in my drupal site..... anyone help me because I have been at this a week at present and stuck .... thanks in advance