IBM Support

Portal Site shows following message : "The website encountered an unexpected error. Please try again later."

Troubleshooting


Problem

Portal Site shows following message : "The website encountered an unexpected error. Please try again later." 

Symptom

From the pods/logs/portal/subin-port-site1-www-0_web.log logs:
[   php-fpm stderr]   687 transaction_id date-time WARNING: [pool www] child 1234 said into stderr: "WATCHDOG: [ERROR] [php] Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException: Incomplete library definition for definition 'my_library' in extension 'my_extension' in Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension() (line 131 of /web/platforms/devportal-9.x-10.0.5.2-20221129-1549/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php). | user: anonymous | uri: https://subin.abc.ptl-portal-web.subin.abc/subin/subin/health | referer: ^M"
[   php-fpm stderr]   687 transaction_id date-time WARNING: [pool www] child 1234 said into stderr: "NOTICE: PHP message: Uncaught PHP Exception Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException: "Incomplete library definition for definition 'my_library' in extension 'my_extension'" at /web/platforms/devportal-9.x-10.0.5.2-20221129-1549/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php line 131"
[     nginx stderr]   686 transaction_id date-time [error] 24764#24764: *3572 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException: "Incomplete library definition for definition 'my_library' in extension 'my_extension'" at /web/platforms/devportal-9.x-10.0.5.2-20221129-1549/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php line 131" while reading response header from upstream, client: 127.0.0.1, server: ptl-portal-web.subin.abc, request: "GET /subin/subin/health HTTP/2.0", upstream: "fastcgi://unix:/var/run/pid/php7.4-fpm.sock:", host: "ptl-portal-web.subin.abc"

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m0z000000cvaRAAQ","label":"API Connect-\u003EDeveloper Portal (MM)-\u003ECustom Modules"}],"ARM Case Number":"TS015538220","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.5"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
05 March 2024

UID

ibm17129932