(1/1) ContextErrorException
... / (1/1) ContextErrorException
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

(1/1) ContextErrorException

by
JOSEPHC8
Created on 2018-06-18 15:11:56 (edited on 2024-09-04 11:12:57) in CDN-old

Bonjour,

Je viens de remarquer qu'un des catégories de mon site a une erreur.
Lorsque je clique dessus, j'ai le message suivant :

(1/1) ContextErrorException

Notice: Undefined index: url_name
in Filter.php line 100
at Filter->getProperty('url_name')in URLSerializer.php line 142
at URLSerializer->getFilterLabel(object(Filter))in URLSerializer.php line 41
at URLSerializer->addFilterToFacetFilters(array(), object(Filter), object(Facet))in SearchProvider.php line 425
at SearchProvider->addEncodedFacetsToFilters(array(object(Facet), object(Facet), object(Facet)))in SearchProvider.php line 188
at SearchProvider->runQuery(object(Context), object(ProductSearchQuery))in ProductListingFrontController.php line 311
at ProductListingFrontControllerCore->getProductSearchVariables()in ProductListingFrontController.php line 545
at ProductListingFrontControllerCore->doProductSearch('catalog/listing/category', array('entity' => 'category', 'id' => 6))in CategoryController.php line 137
at CategoryControllerCore->initContent()in Controller.php line 281
at ControllerCore->run()in Dispatcher.php line 511
at DispatcherCore->dispatch()in index.php line 28


Je suis en mode Debug, et j'ai constaté la chose suivante : si je désactive le mode debug, ladite catégorie n'affiche plus d'erreur, mais une autre catégorie n'est plus affichée. D'autre par, je ne peux plus accèder au back-office, j'ai une page blanche...

Quelqu'un aurait-il une idée comment procéder?

Merci


1 Reply ( Latest reply on 2022-04-20 09:44:06 by
TTY
)

Bonjour @JOSEPHC8,

Pouvez-vous faire un var_dump() de url_name ?

Bien à vous.

Bonjour Adion,

Veuillez excuser le néophyte que je suis, pouvez vous me préciser comment faire un var_dump ?

Bien à vous,

Bonjour,
Vous n'êtes pas trop sur le bon forum.
Avez vous tenté de contacter le support du moteur de votre site web ? Wordpress, Joomla, Prestashop....
Ils seront plus à même de vous dépanner.


var_dump() de url_name

Cela ne vous aidera pas car la variable url_name n'est pas définit.