diff --git a/app/Support/Twig/AmountFormat.php b/app/Support/Twig/AmountFormat.php index a88836cbb4..85ed4d5d28 100644 --- a/app/Support/Twig/AmountFormat.php +++ b/app/Support/Twig/AmountFormat.php @@ -117,7 +117,7 @@ class AmountFormat extends AbstractExtension static function (string $amount, ?string $symbol, ?int $decimalPlaces = null, ?bool $coloured = null): string { if(null === $symbol) { - $message = sprintf('formatAmountBySymbol("%s", "%s", %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,$symbol, $decimalPlaces, var_export($coloured, true)); + $message = sprintf('formatAmountBySymbol("%s", %s, %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,var_export($symbol, true), $decimalPlaces, var_export($coloured, true)); Log::error($message); throw new FireflyException($message); } diff --git a/resources/views/errors/FireflyException.blade.php b/resources/views/errors/FireflyException.blade.php index 5dfc2be6c8..1db0b2d0ad 100644 --- a/resources/views/errors/FireflyException.blade.php +++ b/resources/views/errors/FireflyException.blade.php @@ -49,6 +49,19 @@

{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}

+

+ {{ trans('errors.github_help') }} +

+

+ {!! trans('errors.github_instructions') !!} +

+
    +
  1. {{ trans('errors.use_search') }}
  2. +
  3. {!! trans('errors.include_info', ['link' => route('debug') ]) !!}
  4. +
  5. {{ trans('errors.tell_more') }}
  6. +
  7. {{ trans('errors.include_logs') }}
  8. +
  9. {{ trans('errors.what_did_you_do') }}
  10. +

{{ trans('errors.stacktrace') }}