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

Call to a member function hasRestrictions() on null #58 #289

Open
alxndr-w opened this issue Jan 1, 2024 · 2 comments
Open

Call to a member function hasRestrictions() on null #58 #289

alxndr-w opened this issue Jan 1, 2024 · 2 comments
Labels

Comments

@alxndr-w
Copy link

alxndr-w commented Jan 1, 2024

Siehe FriendsOfREDAXO/neues#58 (comment)

Beim Aufruf des URL-AddOns

**Error:** Call to a member function hasRestrictions() on null
**File:** redaxo/src/addons/url/pages/generator.profiles.php
**Line:** 93
Stacktrace
Function File Line
url_generate_column_data redaxo/src/core/lib/util/formatter.php 494
rex_formatter::custom redaxo/src/core/lib/util/formatter.php 31
rex_formatter::format redaxo/src/core/lib/list.php 1073
rex_list->formatValue redaxo/src/core/lib/list.php 1255
rex_list->get redaxo/src/addons/url/pages/generator.profiles.php 266
require redaxo/src/core/lib/packages/package.php 233
rex_package->includeFile redaxo/src/core/lib/be/controller.php 505
rex_be_controller::{closure} redaxo/src/core/lib/util/timer.php 56
rex_timer::measure redaxo/src/core/lib/be/controller.php 506
rex_be_controller::includePath redaxo/src/core/lib/be/controller.php 453
rex_be_controller::includeCurrentPageSubPath redaxo/src/addons/url/pages/index.php 17
require redaxo/src/core/lib/packages/package.php 233
rex_package->includeFile redaxo/src/core/lib/be/controller.php 505
rex_be_controller::{closure} redaxo/src/core/lib/util/timer.php 56
rex_timer::measure redaxo/src/core/lib/be/controller.php 506
rex_be_controller::includePath redaxo/src/core/lib/be/controller.php 436
rex_be_controller::includeCurrentPage redaxo/src/core/backend.php 241
require redaxo/src/core/boot.php 155
require redaxo/index.php 9
System report (REDAXO 5.15.2-dev, PHP 8.1.26, MariaDB 10.6.12)
REDAXO
Version 5.15.2-dev
PHP
Version 8.1.26
OPcache yes
Xdebug no
Database
Version MariaDB 10.6.12
Character set utf8mb4
Server
OS Linux
SAPI fpm-fcgi
Webserver Apache
Request
Browser Safari/17.2.1
Protocol HTTP/1.0
HTTPS yes
Packages
adminer 1.9.3
be_style 3.2.0
be_style/customizer 3.2.0
be_style/redaxo 3.2.0
cke5 6.1.0
cronjob 2.10.0
feeds 4.0.7
forcal 3.8.0
icecoder 3.0.2
install 2.11.1
mblock 3.4.13
media_manager 2.14.0
mediapool 2.13.0
mediapool_exif 3.0
metainfo 2.10.0
mform 8.0.0-beta1
minibar 2.3.1
neues 4.0.1
pdfout 8.1.1
phpmailer 2.12.0
project dev
quick_navigation 6.1.0
structure 2.15.0
structure/content 2.15.0
url 2.1.0
users 2.10.0
yform 4.1.1
yform/email 4.1.1
yform/manager 4.1.1
yform_field 2.3.3
yrewrite 2.10.0
zip_install 1.4.0

/cc @skerbis

@alxndr-w
Copy link
Author

Error: Call to a member function hasRestrictions() on null
File: src\addons\url\pages\generator.profiles.php
Line: 93

Stacktrace
Function File Line
url_generate_column_data src\core\lib\util\formatter.php 494
rex_formatter::custom src\core\lib\util\formatter.php 31
rex_formatter::format src\core\lib\list.php 1147
rex_list->formatValue src\core\lib\list.php 526
rex_list->getColumnValue src\core\lib\list.php 1328
rex_list->get src\addons\url\pages\generator.profiles.php 267
require src\core\lib\packages\package.php 233
rex_package->includeFile src\core\lib\be\controller.php 508
rex_be_controller::{closure} src\core\lib\util\timer.php 62
rex_timer::measure src\core\lib\be\controller.php 490
rex_be_controller::includePath src\core\lib\be\controller.php 456
rex_be_controller::includeCurrentPageSubPath src\addons\url\pages\index.php 17
require src\core\lib\packages\package.php 233
rex_package->includeFile src\core\lib\be\controller.php 508
rex_be_controller::{closure} src\core\lib\util\timer.php 62
rex_timer::measure src\core\lib\be\controller.php 490
rex_be_controller::includePath src\core\lib\be\controller.php 439
rex_be_controller::includeCurrentPage src\core\backend.php 253
require src\core\boot.php 157
require public\redaxo\index.php 12
System report (REDAXO 5.17.1, PHP 8.3.7, MariaDB 10.11.9)
REDAXO
Version 5.17.1
PHP
Version 8.3.7
OPcache no
Xdebug no
Database
Version MariaDB 10.11.9
Character set utf8mb4
Server
OS WINNT
SAPI apache2handler
Webserver Apache/2.4.59
Request
Browser Chrome/129.0.0.0
Protocol HTTP/1.1
HTTPS yes
Packages
accessdenied 2.1.1
adminer 2.0.2
auto_delete 1.0.2
backup 2.9.1
be_style 3.4.1
be_style/customizer 3.3.1
be_style/redaxo 3.4.1
bloecks 4.0.2
bloecks/cutncopy 4.0.2
cronjob 2.11.0
debug 1.3.2
developer 3.9.2
feeds 4.2.1
focuspoint 4.2.3
install 2.12.1
maintenance 3.2.1
mblock 3.4.13
media_manager 2.16.0
mediapool 2.14.0
metainfo 2.11.0
neues 5.0.1
phpmailer 2.13.1
project dev
project_manager 1.5.3
project_manager/client 1.1.0
qanda 2.2.2
redactor 2.5.2
search_it 6.11.2
search_it/stats 6.11.2
sh_kontaktstelle 1.3.0
sprog 1.5.1
staff 1.4.1
statistics 3.1.0
structure 2.17.1
structure/content 2.17.1
uploader 2.4.2
url 2.1.0
users 2.11.0
watson 2.3.0
ycom 4.3.0
ycom/auth 4.3.0
ycom/group 4.3.0
ydeploy 2.0.2
yform 4.2.1
yform/email 4.2.1
yform/manager 4.2.1
yform/rest 4.2.1
yform_field 2.7.1
yform_geo_osm 1.2.9
yform_spam_protection 1.2.5
yrewrite 2.10.0
zip_install 1.5.3

@tbaddade
Copy link
Owner

Wann genau passiert das? Ich würde es gern nachstellen und den Fehler sehen.
Ein ändern der Artikel-Id zu einer Id die nicht existiert reicht scheinbar nicht.

@tbaddade tbaddade added the Bug label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants