Ok, it is in the is_native_gettext_available() check.
I traced it back to there and when I “return 1;” early in the function, no 502.
Then I debugged the function further and found that $native_gettext_test?=?$mo->translate(?‘native-gettext-test’?);
was the trigger.
These were also the notices / errors I found in logs:
`
[28-Feb-2020?09:30:14]?WARNING:?[pool?www]?child?6321?said?into?stderr:?“ld:?warning:?option?-s?is?obsolete?and?being?ignored”
[28-Feb-2020?10:00:01]?WARNING:?[pool?www]?child?6320?said?into?stderr:?“sh:?/usr/bin/dot:?No?such?file?or?directory”
[28-Feb-2020?10:06:01]?WARNING:?[pool?www]?child?6320?said?into?stderr:?“close?failed?in?file?object?destructor:”
[28-Feb-2020?10:06:01]?WARNING:?[pool?www]?child?6320?said?into?stderr:?“sys.excepthook?is?missing”
[28-Feb-2020?10:06:01]?WARNING:?[pool?www]?child?6320?said?into?stderr:?“lost?sys.stderr”
[28-Feb-2020?10:16:18]?WARNING:?[pool?www]?child?6321?said?into?stderr:?“dyld:?lazy?symbol?binding?failed:?Symbol?not?found:?_iconv_open”
[28-Feb-2020?10:16:18]?WARNING:?[pool?www]?child?6321?said?into?stderr:?”??Referenced?from:?/Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+3/bin/darwin/sbin/../shared-dylibs/libintl.8.dylib”
[28-Feb-2020?10:16:18]?WARNING:?[pool?www]?child?6321?said?into?stderr:?”??Expected?in:?/Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+3/bin/darwin/sbin/../shared-dylibs/libiconv.2.dylib”
`
I don’t get this error on my external webserver so I think it has to do with Local by Flywheel not having loaded al the stuff “WPPP_Native_Gettext” needs… I guess.
I’m researching some more, by checking out a different development enviroment.
Jaime!