- Issue created by @promes
Can you perform a
git bisect
to find the commit that introduced this regression?- π³π±Netherlands promes
The error did not provide a stack trace. Just the given message.
I can send a complete backup of the site before and after he update. No, thank you. See the siteβs logging configuration for getting a stack trace, also called a backtrace.
- Status changed to Postponed: needs info
over 1 year ago 11:36pm 9 December 2023 No code changed in the views module between 10.1.6 and 10.1.7, so I am going to mark this as "Needs steps to reproduce".
- π³π±Netherlands promes
Nor the regular sitelog (admin/reports/dblog) nor the site's error.log had a stack trace. So it was hard to find the view causing the error.
Do you know a way to force an error with a stack trace which I can put in public function setOffset()? Is the website configured to log stack traces? It is that which I was suggesting in comment number six.
- π³π±Netherlands promes
I found module Inspect wich can create a backtrace. It is set to 10 levels, but I can expand this. See attachment.
- π³π±Netherlands promes
And I found the default Drupal way. See backtrace2.txt
- π³π±Netherlands promes
The cause is identical to issue 3361177 π An empty views pager offset field can cause a PHP type error to be triggered. Needs work . After setting offset 0 in the pager, the problem was solved.
- π³π±Netherlands promes
Yes it is a duplicate. This issue is since D10, and issue 3361177 is D11.
- Status changed to Closed: duplicate
about 1 year ago 12:14pm 14 January 2024 - πΊπ¦Ukraine taraskorpach Lutsk πΊπ¦
Closing this as a duplicate according to #14.