Uncaught ArgumentCountError: Too few arguments to function Href::redirect()
Posted: Sat Apr 24, 2021 12:13 pm
I'm getting the following in my error log on every access to any page:
I haven't touched either of these files, so it's a bit odd[25-Apr-2021 00:07:21 Pacific/Auckland] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Href::redirect(), 0 passed in <my catalog>/includes/system/segments/application/parse_actions.php on line 17 and exactly 1 expected in <my catalog>/includes/system/versioned/1.0.8.1/href.php:129
Stack trace:
#0 <my catalog>/includes/system/segments/application/parse_actions.php(17): Href::redirect()
#1 <my catalog>/includes/application_top.php(46): require('<my catalog>...')
#2 <my catalog>/products_new.php(13): require('<my catalog>...')
#3 {main}
thrown in <my catalog>/includes/system/versioned/1.0.8.1/href.php on line 129