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

[BUG] PHP Warning: Undefined array key "no_search_sub_entries" #3380

Closed
DrWh0286 opened this issue Oct 26, 2022 · 0 comments · Fixed by #3438
Closed

[BUG] PHP Warning: Undefined array key "no_search_sub_entries" #3380

DrWh0286 opened this issue Oct 26, 2022 · 0 comments · Fixed by #3438

Comments

@DrWh0286
Copy link
Contributor

Describe the bug
After enabling/disabling a page in page tree with the context menu the following php warning appears:

PHP Warning: Undefined array key "no_search_sub_entries" in /var/www/html/web/typo3conf/ext/solr/Classes/IndexQueue/RecordMonitor.php line 203

To Reproduce
Steps to reproduce the behavior:

  1. Open context menu of a page in page tree
  2. Click on 'Disable' or 'Enable' (depends on state of the page ;-))
  3. The php warning appears

Expected behavior
No php warining

Screenshots
Bildschirmfoto 2022-10-26 um 09 22 58

Used versions (please complete the following information):

  • TYPO3 Version: [e.g. 11.5.17]
  • Browser: Chrome
  • EXT:solr Version: 11.5.0
  • Used Apache Solr Version: 8.11.1
  • PHP Version: 8.1
  • MySQL Version: mariadb 10.3
DrWh0286 added a commit to DrWh0286/ext-solr that referenced this issue Oct 26, 2022
To avoid php warning for undefined array key, check if key is set in
$page array.

Fixes TYPO3-Solr#3380
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this issue Dec 22, 2022
…ries

To avoid php warning for undefined array key, check if key is set in
$page array.

Fixes TYPO3-Solr#3380
Ports: TYPO3-Solr#3381
dkd-kaehm pushed a commit that referenced this issue Dec 22, 2022
…ries

To avoid php warning for undefined array key, check if key is set in
$page array.

Fixes #3380
Ports: #3381
dkd-kaehm pushed a commit that referenced this issue Dec 22, 2022
To avoid php warning for undefined array key, check if key is set in
$page array.

Fixes #3380
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 a pull request may close this issue.

1 participant