Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rex_yrewrite::getCurrentDomain() auf eine subdomain ist null #562

Open
skerbis opened this issue Dec 15, 2023 · 0 comments
Open

rex_yrewrite::getCurrentDomain() auf eine subdomain ist null #562

skerbis opened this issue Dec 15, 2023 · 0 comments

Comments

@skerbis
Copy link
Contributor

skerbis commented Dec 15, 2023

rex_yrewrite::getCurrentDomain() auf eine subdomain ist null, wenn Startartikel im root des Mountpoints ist bzw. wenn Startartikel = Mountpoint ist.

Der folgende Aufruf dagegen funktioniert.

rex_yrewrite::getDomainByArticleId(rex_article::getCurrentId(), rex_clang::getCurrentId())->getMountId()

Error: Call to a member function getMountId() on null
File: rex:///template/12
Line: 55

Stacktrace
Function File Line
require rex:///template/16 17
require src/addons/structure/plugins/content/lib/article_content_base.php 456
rex_article_content_base->{closure} src/core/lib/util/timer.php 56
rex_timer::measure src/addons/structure/plugins/content/lib/article_content_base.php 457
rex_article_content_base->getArticleTemplate src/addons/structure/plugins/content/boot.php 58
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 63
rex_extension::registerPoint src/core/frontend.php 22
require src/core/boot.php 155
require public/index.php 12
System report (REDAXO 5.15.1, PHP 8.1.26, MariaDB 10.3.38)
REDAXO
Version 5.15.1
PHP
Version 8.1.26
OPcache yes
Xdebug no
Database
Version MariaDB 10.3.38
Character set utf8
Warning Die verwendete MariaDB-Version 10.3.38 wird nicht mehr vom Hersteller gepflegt und sollte aktualisiert werden.
Server
OS Linux
SAPI fpm-fcgi
Webserver Apache
Request
Browser Safari/17.2
Protocol HTTP/1.0
HTTPS yes
Packages
accessdenied 2.1.0
activity_log 0.1.0
adminer 1.9.3
animatedlogin 1.0.0
backup 2.9.0
be_style 3.2.0
be_style/customizer 3.2.0
be_style/redaxo 3.2.0
be_tools 1.8.0
bloecks 3.1.1
bloecks/cutncopy 3.1.1
cheatsheet 0.0.1
cke5 6.1.0
consent_manager 4.2.0
cronjob 2.10.0
cropper 2.0.2
dashboard 1.1
ffmpeg 1.0.1
flatpickr 1.1.1
focuspoint 4.0.4
for_sa11y 2.0.3
forcal 3.8.0
gridblock 1.1.12
icecoder 3.0.1
indexnow 0.1-dev
install 2.11.1
maintenance 2.9.2
mblock 3.4.13
media_manager 2.14.0
media_negotiator 2.0.0
mediapool 2.13.0
metainfo 2.10.0
mform 7.3.0
minibar 2.3.1
navigation_array 2.0.1
nv_categorymanager 1.3.0
phpmailer 2.12.0
plyr 3.23.4
project dev
quick_navigation 6.1.0
search_it 6.9.10
search_it/autocomplete 6.9.10
search_it/documentation 6.9.10
search_it/plaintext 6.9.10
search_it/stats 6.9.10
sprog 1.5.1
statistics 3.0.1
structure 2.15.0
structure/content 2.15.0
structure/history 2.15.0
structure_tweaks 1.4.0
uikit_collection 4.0.0
undo 2.1.3
uploader 2.4.2
url 2.1.0
users 2.10.0
watson 2.3.0
xoutputfilter 3.0.0
xoutputfilter/abbrev 3.0.0
xoutputfilter/backend 3.0.0
xoutputfilter/documentation 1.0.0
xoutputfilter/frontend 3.0.0
xoutputfilter/import_export 3.0.0
yform 4.1.1
yform/email 4.1.1
yform/manager 4.1.1
yform/tools 4.1.1
yform_spam_protection 1.2.3
yform_usability 2.1.4
ynewsletter 1.5.1
yrewrite 2.10.0
yrewrite_domain_settings 2.1.2
yrewrite_scheme 3.7.2
zip_install 1.2
skerbis added a commit to FriendsOfREDAXO/maintenance that referenced this issue Jul 8, 2024
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

No branches or pull requests

1 participant