This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

endi.linux.mint51510
endi.linux.mint51510

Please help me troubleshoot nginx 502 Bad Gateway problem when trying to access Media Tab. In the Event Log I get this message but I don't know what to do. I've been fiddling around with this for 3 days but I'm stuck with it.

Here's the message in the Event Log :

Symfony\Component\Debug\Exception\FatalErrorException: Uncaught ErrorException: Use of undefined constant slug - assumed 'slug' (this will throw an Error in a future version of PHP) in /.../.../mywebsite/config/media.php:30
daftspunky
daftspunky

Hey endi,

It looks like your configuration file config/media.php might be corrupt. Try restoring it from the version found here: https://github.com/octobercms/october/blob/develop/config/media.php

I hope this helps!

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.