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

php error on php 8.2 and typo3 11.5.38 #7

Open
martin-git-kristensen opened this issue Jun 26, 2024 · 3 comments
Open

php error on php 8.2 and typo3 11.5.38 #7

martin-git-kristensen opened this issue Jun 26, 2024 · 3 comments

Comments

@martin-git-kristensen
Copy link

platform: ddev 1.23.2
typo3: 11.5.38
php: 8.2.20

I have made a query in module "db check" - full search mv and I have made a action with SQL query as type.

Then the query is linked to t he action - and shows up in taskcenter.

But when the task is executed in taskcenter - this error show up in backend:

#1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Trying to access array offset on value of type bool in /var/www/html/vendor/friendsoftypo3/sys-action/Classes/ActionTask.php line 822

@martin-git-kristensen
Copy link
Author

The above was in typo3 Debug M;ode - when I change to Live mode in Configuration Presets - I get these errors when linking a action to a query - but the Taskcenter shows the right query result below all these errors.

PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "search_query_smallparts" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "search_result_labels" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "labels_noprefix" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "show_deleted" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "queryOrder" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "queryOrderDesc" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "queryOrder2" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "queryOrder2Desc" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626
PHP Warning

Core: Error handler (BE): PHP Warning: Undefined array key "queryGroup" in /var/www/html/vendor/typo3/cms-lowlevel/Classes/Database/QueryGenerator.php line 626

@martin-git-kristensen
Copy link
Author

On our production server - not ddev - I get this when executing a task in debug mode:
PHP Warning: Undefined global variable $SOBE in /dana/data/adamogeva.dk/vendor/friendsoftypo3/sys-action/Classes/ActionTask.php line 837

But no errors and right query on same platform but in Live mode.

Typo3 11.5.38 with php 8.2.19

@martin-git-kristensen
Copy link
Author

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