Cesare77 Posted November 2, 2020 Share Posted November 2, 2020 Buongiorno, sto riscontrando un errore nel backooffice del progetto di un cliente (Prestashop versione 1.7.6). Non ho installato nessun nuovo modulo nè effettuato aggiornamenti e all'improvviso non riesco più ad accedere a parecchie sezioni del BO (es. Prodotti, Categorie, ecc). Ho attivato la modalità debug dal file config /define.inc.php (perchè dal BO non potevo accedere nemmeno a questo) e l'errore che mi restituisce ora è il seguente: (1/1) FatalErrorException Compile Error: Namespace declaration statement has to be the very first statement or after any declare call in the script in NodeTraverser.php line 12 Nel file NodeTraverser.php alla linea 12 trovo: namespace Twig; use Twig\NodeVisitor\NodeVisitorInterface; /** * A node traverser. * * It visits all nodes and their children and calls the given visitor for each. * * @final * * @author Fabien Potencier <[email protected]> */ Qualcuno ha idea di come risolvere il problema? Grazie Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now