Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

PHP message: Slim Application Error - zend-escaper #23

@AndyHee

Description

@AndyHee

I persistently get this Slim Application Error.

What's happening here?

2019/02/02 16:52:04 [error] 1956#1956: *9899 FastCGI sent in stderr: "PHP message: Slim Application Error:                                                   │
Type: Zend\Escaper\Exception\RuntimeException                                                                                                                │
Message: String to be escaped was not valid UTF-8 or could not be converted:                                                                                 │
File: /var/www/dirfrn/vendor/zendframework/zend-escaper/src/Escaper.php                                                                                      │
Line: 329                                                                                                                                                    │
Trace: #0 /var/www/dirfrn/vendor/zendframework/zend-escaper/src/Escaper.php(161): Zend\Escaper\Escaper->toUtf8(NULL)                                         │
#1 /var/www/dirfrn/src/classes/Views/PhpRenderer.php(57): Zend\Escaper\Escaper->escapeHtmlAttr(NULL)                                                         │
#2 /var/www/dirfrn/src/templates/search.phtml(12): Friendica\Directory\Views\PhpRenderer->__call('escapeHtmlAttr', Array)                                    │
#3 /var/www/dirfrn/vendor/slim/php-view/src/PhpRenderer.php(188): include('/var/www/dirfrn...')                                                              │
#4 /var/www/dirfrn/vendor/slim/php-view/src/PhpRenderer.php(169): Slim\Views\PhpRenderer->protectedIncludeScope('/var/www/dirfrn...', Array)                 │
#5 /var/www/dirfrn/src/classes/Controllers/Web/Search.php(103): Slim\Views\PhpRenderer->fetch('search.phtml', Array)                                         │
#6 /var/www/dirfrn/src/classes/Routes/Web/BaseRoute.php(39): Friendica\Dire" while reading response header from upstream, client: 54.36.149.41, server: dir.h│

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions