Jump to content

Edit History

PMoby

PMoby

Thanks for the tip, not sure why this is.
I tried your suggestion, composer worked, but then got

Using version ^7.0 for prestashop/autoupgrade

 

[abcmachine@becane www]$ php bin/console update:check admin123

Fatal error: Uncaught Error: Class "AppKernel" not found in /home/abcmachine/domaine.fr/www/config/autoload.php:28
Stack trace:
#0 /home/abcmachine/domaine.fr/www/config/config.inc.php(36): require_once()
#1 /home/abcmachine/domaine.fr/www/bin/console(15): require_once('/home/abcmachine...')
#2 {main}
  thrown in /home/abcmachine/domaine.fr/www/config/autoload.php on line 28

Missing something...

Checks:

/home/abcmachine/domaine.fr/www/config/autoload.php does exist of course

Lines 27 and 28 are

require_once __DIR__.'/../vendor/autoload.php';
define('_PS_VERSION_', AppKernel::VERSION);

There indeed is an autoload.php in /domaine.fr/www/vendor

I can only find this type of error in much older posts and PSP 1.7 or so, and no relevant solution...
Thanks.

PMoby

PMoby

2 hours ago, Knowband Plugins said:

Thanks for the tip, not sure why this is.
I tried your suggestion, composer worked, but then got

Using version ^7.0 for prestashop/autoupgrade

 

[abcmachine@becane www]$ php bin/console update:check admin123

Fatal error: Uncaught Error: Class "AppKernel" not found in /home/abcmachine/domaine.fr/www/config/autoload.php:28
Stack trace:
#0 /home/abcmachine/domaine.fr/www/config/config.inc.php(36): require_once()
#1 /home/abcmachine/domaine.fr/www/bin/console(15): require_once('/home/abcmachine...')
#2 {main}
  thrown in /home/abcmachine/domaine.fr/www/config/autoload.php on line 28

Missing something...

Checks:

/home/abcmachine/domaine.fr/www/config/autoload.php does exist of course

Lines 27 and 28 are

require_once __DIR__.'/../vendor/autoload.php';
define('_PS_VERSION_', AppKernel::VERSION);

There indeed is an autoload.php in /domaine.fr/www/vendor
Thanks.

 

PMoby

PMoby

2 hours ago, Knowband Plugins said:

Thanks for the tip, not sure why this is.
I tried your suggestion, composer worked, but then got

Using version ^7.0 for prestashop/autoupgrade

 

[abcmachine@becane www]$ php bin/console update:check admin123

Fatal error: Uncaught Error: Class "AppKernel" not found in /home/abcmachine/domaine.fr/www/config/autoload.php:28
Stack trace:
#0 /home/abcmachine/domaine.fr/www/config/config.inc.php(36): require_once()
#1 /home/abcmachine/domaine.fr/www/bin/console(15): require_once('/home/abcmachine...')
#2 {main}
  thrown in /home/abcmachine/domaine.fr/www/config/autoload.php on line 28

Missing something...

Thanks.

 

PMoby

PMoby

2 hours ago, Knowband Plugins said:

Try these commands in the root directory

composer require prestashop/autoupgrade;

# to check the upgrades
php bin/console update:check <your-admin-folder>

# to perform the upgrades
php bin/console update:upgrade <your-admin-folder> 
  
  

 

Thanks for the tip, not sure why this is.
I tried your suggestion, composer worked, but then got

Using version ^7.0 for prestashop/autoupgrade

 

[abcmachine@becane www]$ php bin/console update:check admin123

Fatal error: Uncaught Error: Class "AppKernel" not found in /home/abcmachine/domaine.fr/www/config/autoload.php:28
Stack trace:
#0 /home/abcmachine/domaine.fr/www/config/config.inc.php(36): require_once()
#1 /home/abcmachine/domaine.fr/www/bin/console(15): require_once('/home/abcmachine...')
#2 {main}
  thrown in /home/abcmachine/domaine.fr/www/config/autoload.php on line 28

Missing something...

Thanks.

 

×
×
  • Create New...