FriendsOfREDAXO / FriendsOfREDAXO/rexstan

rex_exception thrown in redaxo/src/core/lib/request.php on line 128 while loading bootstrap file redaxo/src/addons/rexstan/phpstan-bootstrap.php: Session not started, call

Open
#1,032 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
41
Forks
3
Avg merge
1d 3h
Merged PRs (30d)
7

Description

**Description / Beschreibung**
Bei Klick auf die `index.php?page=rexstan/analysis` kommt folgender Fehler
Image

```
PHPSTAN: Fehler
rex_exception thrown in /var/www/html/redaxo/src/core/lib/request.php on line 128 while loading bootstrap file /var/www/html/redaxo/src/addons/rexstan/phpstan-bootstrap.php: Session not started, call rex_login::startSession() before!
```
**Affected versions / Verwendete Versionen**

System report (REDAXO 5.21.1, PHP 8.4.21, MariaDB 10.6.18)

| REDAXO | |
| ------------: | :--------- |
| Version | 5.21.1 |

| PHP | |
| ------------: | :----------------------------- |
| Version | 8.4.21 |
| OPcache | no |
| Xdebug | no |
| Warning | Das Setup wird unverschlüsselt durchgeführt. Frontend und Backend sollten grundsätzlich durch HTTPS verschlüsselt aufgerufen werden, um die Privatsphäre zu schützen und den Datenschutz zu gewährleisten. |

| Database | |
| ------------: | :-------------- |
| Version | MariaDB 10.6.18 |
| Character set | utf8mb4 |

| Server | |
| ------------: | :------------- |
| OS | Linux |
| SAPI | apache2handler |
| Webserver | Apache/2.4.67 |

| Request | |
| ------------: | :--------------- |
| Browser | Chrome/149.0.0.0 |
| Protocol | HTTP/1.1 |
| HTTPS | no |

| Packages | |
| ------------------------: | :--------- |
| 2factor_auth | 2.3 |
| asset_import | 1.3.0 |
| backup | 2.10.1 |
| be_style | 3.8.0 |
| be_style/customizer | 3.8.0 |
| be_style/redaxo | 3.8.0 |
| be_tools | 1.9.2 |
| bloecks | 5.3.3 |
| cache_warmup | 4.0.0 |
| cke5 | 6.4.2 |
| cronjob | 2.12.0 |
| cronjob/article_status | 2.12.0 |
| cronjob/optimize_tables | 2.12.0 |
| developer | 3.9.3 |
| focuspoint | 4.2.3 |
| geolocation | 2.7.0 |
| install | 2.14.0 |
| maintenance | 4.1.0 |
| mblock | 4.6.3 |
| media_manager | 2.18.1 |
| media_manager_autorewrite | 2.0.1 |
| media_manager_plus | 2.2.1 |
| mediapool | 2.18.1 |
| metainfo | 2.12.1 |
| mform | 9.2.1 |
| minibar | 2.6.2 |
| phpmailer | 2.17.1 |
| project | dev |
| quick_navigation | 9.1.0 |
| rexstan | 3.0.23 |
| seocheckup | 1.7.0 |
| sprog | 1.5.1 |
| structure | 2.20.1 |
| structure/content | 2.20.1 |
| structure/history | 2.20.0 |
| structure_tweaks | 1.4.1 |
| trash | 1.1.0 |
| uploader | 3.0.2 |
| users | 2.12.0 |
| ydeploy | 2.1.1 |
| yform | 5.0.2 |
| yform_geo_osm | 2.0.3 |
| yform_spam_protection | 1.4.0 |
| yform_usability | 2.3.2 |
| yrewrite | 2.12.0 |
| yrewrite_domain_settings | 2.3.0 |

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error by opening index.php?page=rexstan/analysis with the reported REDAXO and PHP versions. Read redaxo/src/core/lib/request.php around line 128 and redaxo/src/addons/rexstan/phpstan-bootstrap.php to trace the session requirement. Done means the rexstan analysis page loads without the session-start exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.