Skip to content

Avoid warning if string is empty or null#603

Open
TobiasKrais wants to merge 4 commits intoyakamara:mainfrom
TobiasKrais:patch-1
Open

Avoid warning if string is empty or null#603
TobiasKrais wants to merge 4 commits intoyakamara:mainfrom
TobiasKrais:patch-1

Conversation

@TobiasKrais
Copy link
Copy Markdown
Contributor

No description provided.

@AWqxKAWERbXo
Copy link
Copy Markdown
Contributor

ErrorException: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
File: src\addons\yrewrite\lib\yrewrite\scheme.php
Line: 121

Stacktrace
Function File Line
rex_error_handler::handleError
str_replace src\addons\yrewrite\lib\yrewrite\scheme.php 121
rex_yrewrite_scheme->normalize src\addons\url\lib\Url\Rewriter\Yrewrite.php 147
Url\Rewriter\Yrewrite->normalize src\addons\url\lib\Url\Profile.php 323
Url\Profile->createAndSaveUrls src\addons\url\lib\Url\Profile.php 276
Url\Profile->buildUrls src\addons\url\lib\Url\Generator.php 33
Url\Generator->execute src\addons\url\boot.php 42
rex_package->{closure} src\core\lib\extension.php 52
rex_extension::{closure} src\core\lib\util\timer.php 56
rex_timer::measure src\core\lib\extension.php 42
rex_extension::registerPoint src\core\functions\function_rex_other.php 34
rex_delete_cache src\addons\install\lib\api\api_core_update.php 220
rex_api_install_core_update->execute src\core\lib\api_function.php 202
rex_api_function::handleCall src\core\backend.php 274
require src\core\boot.php 157
require public\redaxo\index.php 12
System report (REDAXO 5.19.0, PHP 8.3.16, MySQL 8.4.3)
REDAXO
Version 5.19.0
PHP
Version 8.3.16
OPcache no
Xdebug no
Database
Version MySQL 8.4.3
Character set utf8mb4
Server
OS WINNT
SAPI apache2handler
Webserver Apache/2.4.62
Request
Browser Chrome/139.0.0.0
Protocol HTTP/1.1
HTTPS yes
Packages
yrewrite 2.12.0

@dergel dergel enabled auto-merge (squash) September 25, 2025 17:33
@TobiasKrais
Copy link
Copy Markdown
Contributor Author

Ping @dergel : Spricht was gegen den PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants