Fix Simple OAuth Uncaught PHP Exception after updating and database update

Created on 2 August 2023, over 1 year ago
Updated 4 August 2023, over 1 year ago

Problem/Motivation

πŸ› White screen of death PHP error after doing composer and db update Closed: cannot reproduce
Doing a composer update and the subsequent required database update throws the following php error.

I looks like it is coming from simple_oauth (which I do not need) that is being required by Varbase API module.

[Wed Aug 02 12:21:10.606846 2023] [proxy_fcgi:error] [pid 8465:tid 140235413370432] [client 10.220.127.13:50600] AH01071: Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException: "Circular reference detected for service "Drupal\\Core\\Logger\\LoggerChannelFactoryInterface", path: "authentication_subscriber -> authentication -> authentication_collector -> simple_oauth.authentication.simple_oauth -> simple_oauth.server.resource_server.factory -> file_system -> logger.channel.file -> Drupal\\Core\\Logger\\LoggerChannelFactoryInterface -> logger.syslog"." at /var/www/varbase/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php line 147', referer: https://www.mydomain.org/update.php/results

Steps to reproduce

Given
When
Then

Proposed resolution

Remaining tasks

  • βœ… File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ❌ Automated unit/functional testing coverage
  • ❌ Developer Documentation support on feature change/addition
  • ❌ User Guide Documentation support on feature change/addition
  • ❌ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
πŸ› Bug report
Status

Closed: cannot reproduce

Version

10.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States HeneryH

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024