Jump to content
martin_88

La propriété CMS->meta_title est vide. / [PrestaShopException code 0]

Recommended Posts

Bonjour,

Version de PHP : 7.1.32
Version de PrestaShop : 1.7.6.4

 

J'ai plusieurs erreurs à plusieurs niveaux :

- Création d'une catégorie : Une erreur inattendue s'est produite. [PrestaShopException code 0]

- Edit / Création d'un produit : La propriété CMS->meta_title est vide.

in classes/ObjectModel.php (line 1051)           
			}
                $message = $this->validateField($field, $value, $id_lang);
                if ($message !== true) {
                    if ($die) {
                        throw new PrestaShopException($message);
                    }
                    return $errorReturn ? $message : false;
                }
            }

 

Au niveau des logs j'ai ceci :

[2020-04-07 21:06:37] php.INFO: User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Implementing \"Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface\" without the \"reset()\" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class \"Csa\\Bundle\\GuzzleBundle\\DataCollector\\GuzzleCollector\". at /home/podscomuqn/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:215)"} []
[2020-04-07 21:06:37] php.CRITICAL: Uncaught Exception: La propriété CMS->meta_title est vide. {"exception":"[object] (PrestaShopException(code: 0): La propriété CMS->meta_title est vide. at /home/podscomuqn/www/classes/ObjectModel.php:1051)"} []
[2020-04-07 21:06:37] request.CRITICAL: Uncaught PHP Exception PrestaShopException: "La propriété CMS->meta_title est vide." at /home/podscomuqn/www/classes/ObjectModel.php line 1051 {"exception":"[object] (PrestaShopException(code: 0): La propriété CMS->meta_title est vide. at /home/podscomuqn/www/classes/ObjectModel.php:1051)"} []
[2020-04-07 21:06:38] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
[2020-04-07 21:06:38] doctrine.DEBUG: SELECT name FROM ps_module WHERE active = 1 [] []
[2020-04-07 21:06:38] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_controller":"web_profiler.controller.profiler:toolbarAction","token":"ebe305","_route":"_wdt"},"request_uri":"https://1-2-3-pods.com/admin913oejdmh/index.php/_wdt/ebe305?_token=4EAeiP8DX-zFI8DlLX1Pmdw6FqlcJEJfPaJMyZwrSJQ","method":"GET"} []
[2020-04-07 21:06:38] php.INFO: User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Implementing \"Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface\" without the \"reset()\" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class \"Csa\\Bundle\\GuzzleBundle\\DataCollector\\GuzzleCollector\". at /home/podscomuqn/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:215)"} []

J'ai fait également :

- suppression Htaccess

- désinstaller le module SEO & Friendly URL

- activer / déactiver friendly URL

 

Je suis à court d'idée.

Share this post


Link to post
Share on other sites

Bonjour,

Est-ce que tu as plusieurs langues ?
Si c'est le cas est-ce que le champ "Balise titre" est bien renseigné pour toutes les langues ?

Share this post


Link to post
Share on other sites

Le problème était lié à un autre module que j'ai du désinstaller.

Je l'ai remarqué en analysant plus profondément le msg d'erreur... Je me rappelle plus du module.

Share this post


Link to post
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...

Important Information

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