-
-
Notifications
You must be signed in to change notification settings - Fork 249
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] Return value getPageItemChangedTime() must be of the type int, null returned #3806
Closed
2 tasks
Tracked by
#3376
Comments
@hdietrich-timespin thanks for reporting that issue. |
I can not provide a PR! |
68 tasks
dkd-kaehm
added a commit
to dkd-kaehm/ext-solr
that referenced
this issue
Oct 6, 2023
Fixes the error: Uncaught TYPO3 Exception: Return value of ApacheSolrForTypo3\Solr\IndexQueue\Queue::getPageItemChangedTime() must be of the type int, null returned Fixes: TYPO3-Solr#3806
dkd-kaehm
added a commit
to dkd-kaehm/ext-solr
that referenced
this issue
Oct 6, 2023
Fixes the error: Uncaught TYPO3 Exception: Return value of ApacheSolrForTypo3\Solr\IndexQueue\Queue::getPageItemChangedTime() must be of the type int, null returned Fixes: TYPO3-Solr#3806 Ports: TYPO3-Solr#3812
dkd-kaehm
added a commit
that referenced
this issue
Oct 6, 2023
Fixes the error: Uncaught TYPO3 Exception: Return value of ApacheSolrForTypo3\Solr\IndexQueue\Queue::getPageItemChangedTime() must be of the type int, null returned Fixes: #3806
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Return value of ApacheSolrForTypo3\Solr\IndexQueue\Queue::getPageItemChangedTime() must be of the type int, null returned
here is the function:
Problem
The used function getPageItemChangedTimeByPageUid returns ?int => int|null, so you must cast return to "int"
or add ?? 0
or change return from function to:
Used versions
Maintainers comments:
Target branches:
The text was updated successfully, but these errors were encountered: