Jump to content
karola

1.7 ContextErrorException... help, please!

Recommended Posts

Hi! I tried to do the 1-click update, but it went with errors. I recover the ftp and db backup, but now instead the admin login page I have the following:

ContextErrorException in PrestaShopExtension.php line 49: Notice: Undefined index: prestatrust in PrestaShopExtension.php line 49
at ErrorHandler->handleError('8', 'Undefined index: prestatrust', '/var/www/public_html/pinswear.pl/public_html/src/PrestaShopBundle/DependencyInjection/PrestaShopExtension.php', '49', array('configs' => array(array('addons' => array('api_client' => array('ttl' => '7200'))), array('addons' => array('api_client' => array('ttl' => '300')))), 'container' => object(ContainerBuilder), 'configuration' => object(AddOnsConfiguration), 'config' => array('addons' => array('api_client' => array('ttl' => '300', 'verify_ssl' => '/var/www/public_html/pinswear.pl/public_html/app/cache/dev/cacert.pem'))), 'loader' => object(YamlFileLoader))) in PrestaShopExtension.php line 49
    at PrestaShopExtension->load(array(array('addons' => array('api_client' => array('ttl' => '7200'))), array('addons' => array('api_client' => array('ttl' => '300')))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 59
    at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
    at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 102
    at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 583
    at ContainerBuilder->compile() in bootstrap.php.cache line 2754
    at Kernel->initializeContainer() in bootstrap.php.cache line 2529
    at Kernel->boot() in bootstrap.php.cache line 2560
    at Kernel->handle(object(Request), '1', false) in index.php line 86

It's PS 1.7. Can anyone please help me how to fix it?

Share this post


Link to post
Share on other sites

I have the same problem after upgrading from 1.7.3.4 to 1.7.4.0 in debug mode

Whoops, looks like something went wrong.
(1/1) ContextErrorException
Warning: file_exists(): open_basedir restriction in effect. File(/pub/fenozawa/composer.json) is not within the allowed path(s): (/pub/fenozawa/my-web.eu:/pub/fenozawa/_include)

in Kernel.php line 362
at Kernel->getProjectDir()
in Kernel.php line 710
at Kernel->getKernelParameters()
in AppKernel.php line 81
at AppKernel->getKernelParameters()
in Kernel.php line 822
at Kernel->getContainerBuilder()
in Kernel.php line 770
at Kernel->buildContainer()
in Kernel.php line 640
at Kernel->initializeContainer()
in Kernel.php line 135
at Kernel->boot()
in Kernel.php line 195
at Kernel->handle(object(Request), 1, false)
in index.php line 88

Share this post


Link to post
Share on other sites
4 hours ago, DARKF3D3 said:

Did you fixed the problem?

No :(

I think there are bad paths to some debug files, because some directories have changed with upgrade, for example, the /cache, but unfortunately I do not yet know where the problem :(

Share this post


Link to post
Share on other sites
On 2/3/2018 at 2:20 AM, karola said:

Hi! I tried to do the 1-click update, but it went with errors. I recover the ftp and db backup, but now instead the admin login page I have the following:

ContextErrorException in PrestaShopExtension.php line 49: Notice: Undefined index: prestatrust in PrestaShopExtension.php line 49
at ErrorHandler->handleError('8', 'Undefined index: prestatrust', '/var/www/public_html/pinswear.pl/public_html/src/PrestaShopBundle/DependencyInjection/PrestaShopExtension.php', '49', array('configs' => array(array('addons' => array('api_client' => array('ttl' => '7200'))), array('addons' => array('api_client' => array('ttl' => '300')))), 'container' => object(ContainerBuilder), 'configuration' => object(AddOnsConfiguration), 'config' => array('addons' => array('api_client' => array('ttl' => '300', 'verify_ssl' => '/var/www/public_html/pinswear.pl/public_html/app/cache/dev/cacert.pem'))), 'loader' => object(YamlFileLoader))) in PrestaShopExtension.php line 49
    at PrestaShopExtension->load(array(array('addons' => array('api_client' => array('ttl' => '7200'))), array('addons' => array('api_client' => array('ttl' => '300')))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 59
    at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
    at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 102
    at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 583
    at ContainerBuilder->compile() in bootstrap.php.cache line 2754
    at Kernel->initializeContainer() in bootstrap.php.cache line 2529
    at Kernel->boot() in bootstrap.php.cache line 2560
    at Kernel->handle(object(Request), '1', false) in index.php line 86

It's PS 1.7. Can anyone please help me how to fix it?

 

Hi Karola,

I have the same issue: 1-click update from 1.7.3 to 1.7.4.1 with errors...

Did you fixed the problem?

Thanks

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More