Jump to content

Error in mode debug (prestashop 9)


jaume36

Recommended Posts

THIS:

SymfonyCacheClearer: Error while clearing cache for admin env dev: Call to undefined function PrestaShop\PrestaShop\Adapter\Cache\Clearer\exec()

My server no admits "exec" activation.

Link to comment
Share on other sites

I’m not sure what you’re asking. If your server doesn’t support exec and PrestaShop uses it, as clearly shown in the error you shared, then it simply won’t work.
Unless you contact your hosting provider and they change the server settings.

You can clear the cache manually by deleting the contents of these folders:

var/cache/dev/*
var/cache/prod/*

You could also rewrite the function in PrestaShop, but that doesn’t make sense in the long run.

  • Like 2
Link to comment
Share on other sites

37 minutes ago, El Patron said:

Este es un problema conocido desde febrero. Más información aquí . Consejo: puedes eliminar las carpetas (dev/prod), ya que PS las recreará.

Gracias Patrón!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...