Closed LoranRendel closed 2 months ago
Thanks for the report! This appears to be a bug in the Timber starter theme. The get_header
and get_footer
actions must be passed a parameter, even if its value is null. Ref: https://developer.wordpress.org/reference/hooks/get_header/ .
It could be called wrong usage, however, do_action can be called without any additional arguments and no errors: https://developer.wordpress.org/reference/functions/do_action/#source, ...$arg
technically could be omitted.
The error occurs only when Query Monitor is active, otherwise evertything works fine.
The
get_header
andget_footer
actions must be passed a parameter, even if its value is null.
That is fascinating.
When using latest version of Timber and starter theme with Query Monitor enabled, an error occurs: