New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Errors in production site

Ine Dehandschutter February 15, 2021 by Ine Dehandschutter

Dev env (This is a Statamic V2 site)

I'm not getting any of the below errors in my local dev environment.

Production env

The errors are only on production server, in a few places in the control panel in the production environment I'm seeing errors.

Control Panel > Content (errors)

When you attempt to access Content > Pages & Assets in the CP you get the spinning wheel and no assets ever load within the control panel.

Collections: There was a problem retrieving data. Check your logs for more details. Taxonomies: There was a problem retrieving data. Check your logs for more details.

Control Panel > Configure, field sets, users (errors)

The error message is: There was a problem retrieving data. Check your logs for more details.

On the front end, everything looks error free. Because this is a production site, I have debug bar disabled.

ERROR LOGS

In the logs I'm seeing a few errors but I don't really know where to start with em:

[2021-02-16 00:11:13] production.ERROR: Cannot add [collections/panden/_2021-01-26.aangenaam-appartement-met-terras-en-tuintje-te-gent.md] to Stache repository [entries]. File at [collections/panden/7.aangenaam-appartement-met-terras-en-tuintje-te-gent.md] already exists in repository [entries/panden] with an ID of [ed3fa78b-28bd-4892-90b0-07fb8505a009]. [2021-02-16 00:11:13] production.ERROR: Cannot add [collections/panden/10.gerenoveerde-rijwoning-met-koertje-in-binnenstad-van-gent.md] to Stache repository [entries]. File at [collections/panden/_2021-01-26.gerenoveerde-rijwoning-met-koertje-in-binnenstad-van-gent.md] already exists in repository [entries/panden] with an ID of [7efb8883-1ed0-4a45-8b14-388e83dffc91]. [2021-02-16 00:11:13] production.ERROR: Cannot add [collections/panden/20.nieuw-modern-1-slaapkamer-appartement-te-gent.md] to Stache repository [entries]. File at [collections/panden/13.nieuw-modern-1-slaapkamer-appartement-te-gent.md] already exists in repository [entries/panden] with an ID of [f7df609c-4b94-4780-a8c9-13124fd52fa3]. [2021-02-16 00:13:44] production.ERROR: Cannot add [collections/panden/_2021-01-26.aangenaam-appartement-met-terras-en-tuintje-te-gent.md] to Stache repository [entries]. File at [collections/panden/7.aangenaam-appartement-met-terras-en-tuintje-te-gent.md] already exists in repository [entries/panden] with an ID of [ed3fa78b-28bd-4892-90b0-07fb8505a009]. [2021-02-16 00:13:44] production.ERROR: Cannot add [collections/panden/10.gerenoveerde-rijwoning-met-koertje-in-binnenstad-van-gent.md] to Stache repository [entries]. File at [collections/panden/_2021-01-26.gerenoveerde-rijwoning-met-koertje-in-binnenstad-van-gent.md] already exists in repository [entries/panden] with an ID of [7efb8883-1ed0-4a45-8b14-388e83dffc91]. [2021-02-16 00:13:44] production.ERROR: Cannot add [collections/panden/20.nieuw-modern-1-slaapkamer-appartement-te-gent.md] to Stache repository [entries]. File at [collections/panden/13.nieuw-modern-1-slaapkamer-appartement-te-gent.md] already exists in repository [entries/panden] with an ID of [f7df609c-4b94-4780-a8c9-13124fd52fa3]. [2021-02-16 00:19:44] production.NOTICE: Error in [width] modifier: Could not find files to load the width modifier. [2021-02-16 00:19:44] production.NOTICE: Error in [height] modifier: Could not find files to load the height modifier. [2021-02-16 00:19:44] production.NOTICE: Error in [fit] modifier: Could not find files to load the fit modifier. [2021-02-16 00:19:54] production.NOTICE: Error in [width] modifier: Could not find files to load the width modifier. [2021-02-16 00:19:54] production.NOTICE: Error in [height] modifier: Could not find files to load the height modifier.

I need to ensure that the pages are editable within the control panel and that the assets are accessible in the CP too.

Any help would be appreciated.

Answered by Ine Dehandschutter!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower