-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Labels
Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaroundA bug found in uncommon paths, with low consequences, limited users or has an easy workaround
Milestone
Description
Describe the bug
A fatal error occurs if, in OJS 3.3.0 (tested on build 15), the Web Cache setting is active under PHP 8 (8.0, 8.1, 8.2). This doesn't happen if I use PHP 7.4.
To Reproduce
Steps to reproduce the behavior:
- PHP 8
- web_cache is On (config.inc.php)
- Visit site
What application are you using?
OJS 3.3.0-15
Log
PHP Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in /home/.../public_html/lib/pkp/classes/core/Dispatcher.inc.php:226
Stack trace:
#0 /home/.../public_html/lib/pkp/classes/core/Dispatcher.inc.php(226): mktime()
#1 /home/.../public_html/lib/pkp/classes/core/Dispatcher.inc.php(122): Dispatcher->_displayCached()
#2 /home/.../public_html/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#3 /home/.../public_html/index.php(68): PKPApplication->execute()
#4 {main}
thrown in /home/.../public_html/lib/pkp/classes/core/Dispatcher.inc.php on line 226
Metadata
Metadata
Assignees
Labels
Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaroundA bug found in uncommon paths, with low consequences, limited users or has an easy workaround