Shortly after updating to RC3 (which went smoothly enough) I got this in the logs:
Type of error: Undefined
8: Undefined index: page_ascending
https://URL/forum2/index.php?topic=5463.0
/var/www/web/forum/Sources/Display.php (Line 867)
Another new error appeared! 60+ of these all at once:
Type of error: General
2: preg_filter(): Unknown modifier '\'
https://nfggames.com/forum2/index.php?amp;action=search2
/var/www/web/forum2/Sources/Search.php (Line 2319)
First issue got fixed by droping the performance feature behind this: https://github.com/SimpleMachines/SMF2.1/pull/6272
To mutch pain to less gain
Quote from: NFG on December 14, 2020, 06:27:11 PM
Another new error appeared! 60+ of these all at once:
Type of error: General
2: preg_filter(): Unknown modifier '\'
https://nfggames.com/forum2/index.php?amp;action=search2
/var/www/web/forum2/Sources/Search.php (Line 2319)
I have the same error codes in my log.
Interesting and odd.... I have been testing 2.1 RC3 and can't reproduce this on my install...
I have not seen any errors in my log except bad password ones.
I can reproduce the search error by including backslashes & forwardslashes in a search term. The search MUST otherwise get hits, so search for something like "/\ welcome to smf". The issue is with the highlighting logic.
Logged the 2 issues above:
Unknown modifier:
https://github.com/SimpleMachines/SMF2.1/issues/6413
Page ascending:
https://github.com/SimpleMachines/SMF2.1/issues/6412