Closed aljazromih closed 8 months ago
The 502 error is coming from your web server, but there must be an underlying error in your Laravel application for it to happen. Check your Laravel logs.
No error in log
The 502 error is coming from your web server, but there must be an underlying error in your Laravel application for it to happen. Check your Laravel logs.
What about your web server/php-fpm logs?
What about your web server/php-fpm logs?
Couldn't find any error.
Are you still reproducing this issue?
Description
I get 502 Bad Gateway when calling
getRelated()
in a controller or blade on frontend. If I call it in a repeater blade (for dynamic select options) it works with no errors.Controller, blade view (502 Bad Gateway)
If I uncomment the
dd()
,@dd()
(also in the foreach loop) above it works & returns a collection of the related models or single model within the foreach:Sample in repeater blade view (works)
Versions
Twill version: 2.12.4 Laravel version: 9.48.0 PHP version: 8.0