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

alextran070920097
alextran070920097

Hi guys!

When i uploaded the source to my host, that's blank page, then i saw the error log they said:

PHP Fatal error: Class 'Event' not found in /public_html/demo/vd/vendor/october/rain/src/Foundation/Exception/Handler.php on line 70.

The host was disable some function for security, but i don't know what?

Help me,

Thanks!

abwebdevelopers
abwebdevelopers

Old support post, but issue still crops up every now and then.

The Event class won't exist prior to it being bootstrapped (via config/app.php) so check this file for typos.

Last updated

donny.rolanda5279
donny.rolanda5279

Hi, the problem still exists. Can anyone fix this problem?

alexwenzel
alexwenzel

Hi, I have the same issue. Even worse:

when i run october locally in a docker container, it works flawless. when i build the same app on my v-server, i always get this error.

PHP message: PHP Fatal error: Uncaught Error: Class 'Event' not found in /var/www/html/vendor/october/rain/src/Foundation/Exception/Handler.php:57

aurelijus.useckas16377
aurelijus.useckas16377

my guess is that this is due to storage folder missing framework or cms directories.

alexwenzel
alexwenzel

aurelijus.useckas16377 said:

my guess is that this is due to storage folder missing framework or cms directories.

many thanks. this was the issue.

Magenizr
Magenizr

aurelijus.useckas16377 said:

my guess is that this is due to storage folder missing framework or cms directories.

Just confirming, the error can be fixed by creating the storage and its subfolders.

mkdir -p storage/app storage/cache storage/cms storage/framework/sessions storage/logs storage/temp

Last updated

1-7 of 7

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