include custom file in footer (v2022)

  1. Make sure the path of the included file is correct, it should be in the same folder as the layout.php,
  2. Press F12 in browser to check JavaScript errors in the Console panel,
  3. Enable Debug to check server side errors.