LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap
https://lavalite.org
2.83k stars 965 forks source link

ReflectionException in Container.php line 719: Class does not exist #170

Open chuoke opened 7 years ago

chuoke commented 7 years ago

After everything I've done follow doc , I just got these errors : 2/2:

ErrorException in Container.php line 719: Class does not exist (View: D:\ComposerRep\lavalite-cms\public\themes\public\views\home.blade.php). 

and 1/2 :

ReflectionException in Container.php line 719: Class does not exist

I tried to find out why, but I don't know how to fix it,

What should I do ?

AlpeshT commented 7 years ago

@chuoke Have you resolved this issue? I am facing same issue...

chuoke commented 7 years ago

@AlpeshT not yet

zachli commented 7 years ago

have sme issue too. is that because don't have config the database ?

noxify commented 7 years ago

I had the same problem after running the composer create-project (via PHPStorm). But after running the php artisan lavalite:install command, everything "works" as expected.

chuoke commented 7 years ago

@AlpeshT @zachli @noxify I got it. The right way install the cms is maybe should follow these steps in Composer:

  1. composer create-project LavaLite/cms --prefer-dist website
  2. php artisan clear-compiled
    php artisan optimize
    composer dump-auto  
  3. php artisan lavalite:install
  4. change the APP_URL

You can view http://www.chuoke.xyz, which is the result . But, I Don't know what to do next.

VishalSuriMcc commented 7 years ago

Hi, I am facing same issue but could not find a way to get it resolve. PHP Version is: 7.0.24-1+ubuntu16.04.1+deb.sury.org+1 error-log-report-2 error-screen-shot

paramessanjay commented 6 years ago

hi any one found solution for this issues,while configuring twilio in yii2 ReflectionException' with message 'Class filipajdacic\yiitwilio\YiiTwilio does not exist'

in /opt/lampp/htdocs/test1/git/projectname/vendor/yiisoft/yii2/di/Container.php:415