| chrisfromredfin |
Could potentially just do this in a GitPod using the main button on the project page. |
| chrisfromredfin |
Yes I can replicate this. I'll start digging. |
| chrisfromredfin |
This is because "The website encountered an unexpected error. Please try again later." is being returned and it's expecting JSON but it starts with T (The). This is because of Error: Class 'Kevinrob\GuzzleCache\CacheMiddleware' not found in Drupal\project_browser\DrupalOrg\DrupalOrgClient->createGuzzleClient() (line 58 of /var/www/html/web/modules/contrib/project_browser/src/DrupalOrg/DrupalOrgClient.php) |
| gaurav.kapoor |
This issue has been reported in some other PHP projects as well. https://github.com/launchdarkly/php-server-sdk/pull/78 |
| gaurav.kapoor |
Maybe some dependency dropped it from composer.json without handling removal or usage. (edited) |
| chrisfromredfin |
our composer.json does explicitly require it, but it's not ending up in /verndor when I run composer install... ? |
| chrisfromredfin |
oh. because i just cloned the module into the site. I should add it with composer. |
| chrisfromredfin |
yeah so it's actually working. |
| chrisfromredfin |
With that said, generally any kind of error / 500 back from the Drupal side API endpoint is going to break in that way. We should probably add some smartness to that to check the return code maybe or something. |
| gaurav.kapoor |
I'll check it again as well, maybe my local had some other issue. |
| chrisfromredfin |
if you can find where that is and you can file an issue, that's great. |
| chrisfromredfin |
also a lot of the other issues I was having where it was requesting plain /project without parameters and taking forever were rectified with Najab's patch from 2️⃣ I'll reivew and merge that one I think/hope, except I have to get a DDEV meeting. :stuck_out_tongue: |
Comments
Comment #2
NadiaFaucon commentedStatus change from "Active" to "NeedsReview"
Comment #7
leslieg commentedComment #8
leslieg commented