Tim Schroeder
Tim Schroeder
Does changing the user filter with the new setting from #2019 help?
I get the error ``` Cannot desctructure property `name` of 'undefined' or 'null'. ``` when I use a table with a column called `name` (with backticks around it). I put...
I recently ran into this. Deleting the old `bin/preprocessor` fixed it for me.
> It could be, that if you have it set in you local user properties, that it gets transferred over to remote, but then you'd already have problems with code...
The error looks the same as the one described in #58 from a user's perspective.
I've debugged this problem and noticed the redirect is performed in [course/view.php#L114](https://github.com/moodle/moodle/blob/v4.1.4/course/view.php#L114) and the manipulation of the global `$section` variable that happens in [lib.php#L102](https://github.com/davidherney/moodle-format_onetopic/blob/v4.1.03/lib.php#L102) and [lib.php#L151](https://github.com/davidherney/moodle-format_onetopic/blob/v4.1.03/lib.php#L151) causes it to want...
I've supplied a fix that a) disables unavailable tabs in this case and b) ensures that even if someone visits the URL of such a tab with the above mentioned...
Checking `$section->uservisible` is enough because as you can see in [lib/modinfolib.php#L3236-L3253](https://github.com/moodle/moodle/blob/v4.1.4/lib/modinfolib.php#L3236-L3253) it already checks `$section->visible`, `$section->available` and both capabilities `'moodle/course:viewhiddensections'` and `'moodle/course:ignoreavailabilityrestrictions'` since Moodle version 3.3.
I also noticed this with MariaDB. Most of the time the pagination works for me, but sometimes it doesn't.
Admittedly I hadn't tested this with a different background color. Another fix would be to just make the table cells non-transparent. Grader report does the same and that's a Moodle...