<p>The fix was elusive but ultimately simple. <strong>In order for reports queries to work on a multi-site Craft 3 install, you must reference the site slug or site ID.</strong></p>
<p>GOOD</p>
<pre><code>{% set entries = craft.entries.section('blat').siteId(2).all() %}
</code></pre>
<p>BAD</p>
<pre><code>{% set entries = craft.entries.section('blat').all() %}
</code></pre>

CC BY-SA 4.0
2022-07-25T21:11:09.843Z
2022-07-25T21:11:09.843Z
4midori
<p>I'm returning to a Sprout report on a project that was idle for a few years due to Covid. I was puzzled as to why both my settings and report templates were yielding nothing. The only change in the interim was adding additional sites to this install.</p>

<multi-site><plugin-sproutreports>
Sprout Reports settings template no longer functioning
# Sprout Reports settings template no longer functioning

(Asked by: username_0 on 2022-07-25)

I'm returning to a Sprout report on a project that was idle for a few years due to Covid. I was puzzled as to why both my settings and report templates were yielding nothing. The only change in the interim was adding additional sites to this install.

**Tags:** multi-site, plugin-sproutreports


---

## 1 answers

### Answer by username_0 on 2022-07-25. Score: 1

The fix was elusive but ultimately simple. In order for reports queries to work on a multi-site Craft 3 install, you must reference the site slug or site ID.
GOOD
{% set entries = craft.entries.section('blat').siteId(2).all() %}

BAD
{% set entries = craft.entries.section('blat').all() %}


---

