Search the Community
Showing results for tags 'Undefined Index'.
-
buenas tardes, desde hace un tiempo tienda ha tenido un error que es al aprobar la compra (independiente del metodo de pago) se coloca una pantalla blanca y al intentar recargar aparece el texto [ERROR] ERROR: ERROR PAGE: Esta compra se encuentra en estado rechazado o cancelado y no se puede aceptar el pago Tras esto, el pedido ingresa pero no se coloca en "pago aceptado" si no en un estado de "awaiting for paypal payment" [tengo el paypal desactivado de meses y antes no habia pasado esto] Al activar debug, aparece el mensaje de undefined index en el modulo que utilizo jmarketplace.php (adjunto screenshot) Contacté al desarrollador y me dice que eso es solo una notificación y que no tiene que ver con ellos..... alguien puede ayudarme??
-
- jmarketplace
- 1.7.6.9
-
(and 1 more)
Tagged with:
-
Hello, I have this configuration: WINDOWS SERVER 2019 STANDARD IIS 10 MySQL 8.0.16.0 PHP 7.2.16 PHPMYADMIN 4.9.0.1 Prestashop 1.7.6.0 When I go on the back office and I click on: IMPROVE -> PAYMENT -> PAYMENT METHODS IMPROVE -> INTERNATIONAL -> TAXES CONFIGURE -> STORE PARAMETERS -> TRAFFIC & SEO not appear the correct page but appear a string. with IMPROVE -> PAYMENT -> PAYMENT METHODS Appear: PHP Warning: Use of undefined constant ADMIN_LEGACY_CONTEXT - assumed 'ADMIN_LEGACY_CONTEXT' (this will throw an Error in a future version of PHP) in C:\inetpub\wwwroot\prestashop\modules\ps_mbo\ps_mbo.php on line 320 line 320 is: if (ADMIN_LEGACY_CONTEXT === true) { and with IMPROVE -> INTERNATIONAL -> TAXES with CONFIGURE -> STORE PARAMETERS -> TRAFFIC & SEO Appear: PHP Notice: Undefined index: _route in C:\inetpub\wwwroot\prestashop\src\PrestaShopBundle\Controller\Admin\CommonController.php on line 121 line 121 is: $routeName = $request->attributes->get('caller_route', $request->attributes->get('caller_parameters', ['_route' => false])['_route']); In the previous installation I had Prestashop v1.7.5.2 (with the same versions of MySQL, PHP, PHPMYADMIN) and the functionality was all OK. I thank each of you for any ideas and suggestions to solve the problem, thanks in advance! Kind regards
- 10 replies
-
- undefined index
- admin_legacy_context
-
(and 2 more)
Tagged with:
-
Hi ! I have an issue with my sitemap page... On front office this page is blank and I do not know how to fix it. I enabled debug mode, you can see full error report on picture attachment. I see that there is an error notice : "Notice: Undefined index: sitemap" Here is the file sitemap.tpl located in /template/cms of my theme : {extends file='page.tpl'} {block name='page_title'} {l s='Sitemap' d='Shop.Theme.Global'} {/block} {block name='page_content_container'} <div id="sitemap-tree" class="sitemap"> <div class="tree-top"> <a href="{$urls.base_url}" title="{$shop.name}"></a> </div> <ul class="tree"> {foreach $sitemap as $item} {if isset($item.children)} {foreach $item.children as $child} {include file='cms/_partials/sitemap-tree-branch.tpl' node=$child} {/foreach} {/if} {/foreach} </ul> </div> {/block} An here is file sitemap-tree-branch.tpl located in /template/cms/partials of my theme : <li> <a id="{$node.id}" href="{$node.url}" title="{$node.label}">{$node.label}</a> {if isset($node.children) && $node.children|@count > 0} <ul> {foreach $node.children as $child} {include file='cms/_partials/sitemap-tree-branch.tpl' node=$child} {/foreach} </ul> {/if} </li> I really don't know what to do to fix this and I need to have an HTML sitemap on my website... Thank you ! Best regards,
-
I'm trying my prestashop ecommerce 1.7.4.2 and know I'm getting the following error when I try to finalize a buying process. Whoops, looks like something went wrong. (1/1) ContextErrorException Notice: Undefined index: tpl_dir in bfef76c77571de1a6cd2e9e4801e1472f4ee8b54_2.module.webpayviewstemplatesfront.php line 29 at content_5bbec90734b909_19704711(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 206 at Smarty_Internal_Template->render(false, 0) in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl', null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 679 at FrontControllerCore->smartyOutputContent('module:webpay/views/templates/front/payment_execution.tpl') in FrontController.php line 663 at FrontControllerCore->display() in Controller.php line 275 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 28 Anyhelp on what is going wrong and how I can solve it?
- 1 reply
-
- contexterrorexceptionundefined index
- tpl_dir
- (and 2 more)
-
Bonjour, Je débute sur Prestashop et je galère un peu ! Je suis sous 1.6, hébergé chez online.net. J'ai le theme JMS_Cake. Dans le back office, j'ai les erreurs suivantes : Lorsque je clique sur le module JMS Slider : Notice à la ligne 74 du fichier /flex/storage/lasourisdesbois.com/site/www/cache/smarty/compile/4b/6e/0a/4b6e0a5f7a9c7fe1c41c855465390071ce83c6a7.file.list.tpl.php[8] Undefined index: iso_lang ce message apparait 3 fois Lorsque je clique sur JMS settings, j'ai ça : Notice à la ligne 700 du fichier /flex/storage/lasourisdesbois.com/site/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code [8] Undefined index: JMSADV_HOMEPAGE Je pense que ça a commencé quand j'ai voulu régler un problème sur le front office : j'avais un petit bouclier sur chrome qui disait que c'était pas sécurisé (alors que je suis en https). J'ai modifié toutes les occurences http:// par https:// dans le thème mais sans succès. J'ai ensuite vu que c'était dans un module jmsmapslocation : j'ai changé http en https dans les fichiers tpl et php et depuis je n'ai plus le bouclier. Mais j'ai les erreurs citées au dessus ! Please help :o) Merci beaucoup yan
- 6 replies
-
- back office
- undefined index
-
(and 2 more)
Tagged with:
-
Hello i'm having an issue with superckeckout and actually some other modules, but the problem or the rror is this: ContextErrorException in supercheckout.php line 561:Notice: Undefined index: page_name in supercheckout.php line 561 at ErrorHandler->handleError('8', 'Undefined index: page_name', '/home/u624873126/public_html/modules/supercheckout/supercheckout.php', '561', array('settings' => array('enable' => '0', 'super_test_mode' => '0'), 'supercheckout_config' => object(SupercheckoutConfiguration))) in supercheckout.php line 561 I want to know where to look, i wante to print all of the variables or the index, but no one gives me information. Please help me
-
Hi. I'm running Prestashop v1.7.2.2. I have installed the 'Block Tags' module, which seems to be working fine. It displays correct tags on the left side of products page. However, when I click on one of the tags, I get this error: ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 626: Notice: Undefined index: category in C:\wamp\www\inkstills\vendor\prestashop\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code line 626 at ErrorHandler->handleError('8', 'Undefined index: category', 'C:\wamp\www\inkstills\vendor\prestashop\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code', '626', array('_smarty_tpl' => object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 626 at content_5af2a70f773896_59927145(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 222 at content_5af2a70fa59ba1_45974683(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('catalog/listing/search.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('catalog/listing/search.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('catalog/listing/search.tpl') in FrontController.php line 644 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Please help me understand what's going on. Thanks
- 5 replies
-
- undefined index
- contexterrorexception
-
(and 2 more)
Tagged with:
-
I have the default theme on prestashop 1.7.1, it works well before i had uploaded the new logo in the backoffice. i have this message error when i active the _PS_MODE_DEV_ : Someone can help me please? ContextErrorException in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573:Notice: Undefined index: page_name in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573 at ErrorHandler->handleError('8', 'Undefined index: page_name', '/Applications/MAMP/htdocs/guppi171/app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/a9/7d/6b/a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php', '573', array('_smarty_tpl' => object(Smarty_Dev_Template))) in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573 at content_58e90ccaa2b760_22106106(object(Smarty_Dev_Template)) in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 209 at content_58e90ccaa940c9_69741085(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 644 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 369 at DispatcherCore->dispatch() in index.php line 28
-
I have a bug in my blockspecial module (PS 1.5.6.1, module v. 1.0) If I log-in as a foreign user registered with VAT ID, I correctly see the prices without taxes. By the way, if there are products on offer shown in the blockspecial module, i get the error: Notice: Undefined index: priceWithoutReduction_tax_excl inC:\xampp\htdocs\prestashop\cache\smarty\compile\50\97\54\509754be458c82ea8c05f115388675b1b9c82496.file.blockspecials.tpl.phpon line 79 Notice: Trying to get property of non-object inC:\xampp\htdocs\prestashop\cache\smarty\compile\50\97\54\509754be458c82ea8c05f115388675b1b9c82496.file.blockspecials.tpl.phpon line 79 Note that the message is shown inside the special offers products (not visible in f12 console, debug mode activated). If I log out (or if I login as a non-VAT rgistered user) everything works correctly. My deduction is that the problem is caused by the combination of discounted products and prices shown without taxes. Do someone is able to help?
- 11 replies
-
- undefined index
- error
-
(and 1 more)
Tagged with:
-
Hello. I got an error any time I try to add product to cart. Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data' responseText: Notice: Undefined index: weight_attribute in /var/www/moja.domena.com/public_html/classes/Carrier.php on line 1389 {"products":[{"id":67,"link":"http:\/\/1cdeli.com.cn\/en\/sausages\/67-bratwurst-coarse-snail-230g-eco-pack-6957490109260.html","quantity":1,"image":"http:\/\/1cdeli.com.cn\/307-home_default\/bratwurst-coarse-snail-230g-eco-pack.jpg","image_cart":"http:\/\/1cdeli.com.cn\/307-cart_default\/bratwurst-coarse-snail-230g-eco-pack.jpg","priceByLine":"\u00a5 12.90","name":"BRATWURST COARSE SNAIL 230G ECO PACK","price":"\u00a5 12.90","price_float":12.9,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"\u00a5 0.00","shippingCostFloat":0,"wrappingCost":"\u00a5 0.00","nbTotalProducts":1,"total":"\u00a5 12.90","productTotal":"\u00a5 12.90","freeShipping":"\u00a5 0.00","freeShippingFloat":0,"hasError":false,"crossSelling":false} Is anybody can help me to fix this issue?
-
Après avoir uploadé le logo dans l'admin Prestashop 1.7, j'ai l'admin qui crash erreur 500. j'ai vidé tout les cash, ca ne marche pas. Rapport de Bug : ContextErrorException in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573:Notice: Undefined index: page_namein a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573 at ErrorHandler->handleError('8', 'Undefined index: page_name', '/Applications/MAMP/htdocs/guppi171/app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/a9/7d/6b/a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php', '573', array('_smarty_tpl' => object(Smarty_Dev_Template))) in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 573 at content_58e90ccaa2b760_22106106(object(Smarty_Dev_Template)) in a97d6be5d27ac6a427bb832d59678c8eb5626ed2.file.index.tpl.php line 209 at content_58e90ccaa940c9_69741085(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 644 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 369 at DispatcherCore->dispatch() in index.php line 28
-
Hello, I am trying to make a module named 'categorieslist' which displays a list of categories on the home page, here is how I got the array of categories in categorieslist.php. I am using Prestashop 1.6.1.8 public function hookDisplayHome() { $lang = (int)Context::getContext()->language->id; $cats = Category::getCategories($lang); $this->context->smarty->assign( array( 'categories_list_name' => Configuration::get('CATEGORIESLIST_NAME'), 'categories_list_link' => $this->context->link->getModuleLink('categorieslist', 'display'), 'cats' => $cats ) ); return $this->display(__FILE__, 'categorieslist.tpl'); } here is how I am trying to display the names of the categories in my categorieslist.tpl <div class="block_content"> {foreach from=$cats item=cat} <div class="cat"> <a href="" class="catname"> {$cat.name} </a> <ul> </div> {/foreach} </div> I am getting this error message, "notice: unidentified index: name" How can I solve this issue?
- 1 reply
-
- smarty
- categories
-
(and 2 more)
Tagged with:
-
Hello Guys, I have just recovered my website from backup and i m getting errors on best seller tab, the module used is top-seller module. i am getting top seller tab on home page a tab as best seller just next to popular and new arrivals, when i click on best seller's i get images of the product which are sold recently but the problem is when i hover on it i get the following error's. Anyone any suggestions Errors: Notice: Undefined index: id_product_attribute inC:\xampp\htdocs\Imitation\cache\smarty\compile\06\21\02\0621027ea2ed14f9e5de1575d660ad5d8a1489f1.file.product-list.tpl.php on line 203 Notice: Undefined index: available_for_order inC:\xampp\htdocs\Imitation\cache\smarty\compile\06\21\02\0621027ea2ed14f9e5de1575d660ad5d8a1489f1.file.product-list.tpl.php on line 203 I have tried following things 1. Have clear the cache from BO and also have deleted the manually the smarty/compile/folder except index.php 2. Have tried to reset , uninstall reinstall the module didn't work. 3.Have installed fresh store copied the top-seller module and reinstalled didn't work. I have attached screen shot for refrence.
- 2 replies
-
- Cart
- Best seller tab
- (and 8 more)
-
Hello guys, It seams that i got this error when i want to edit a category. I've tried everything... anybody can help me with this? Best regards,
- 4 replies
-
- HelperForm.php
- Undefined index
-
(and 1 more)
Tagged with:
-
Hi, I am getting an 'Undefined index' notice. The page /addresses (within My Account) What is displayed: Name street City, State Notice: Undefined index: in /home/xxxxxxx/public_html/site.net/www/cache/smarty/compile/0a/21/d3/0a21d39e2ec8250e020cf306748602f8d4c832d6.file.addresses.tpl.php on line 203 Post Code country phone This is from the cached file: <?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['address']->value['formated'][smarty_modifier_replace($_smarty_tpl->tpl_vars['key']->value,',','')], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?> [code=auto:0] In the addresses.tpl file: [code=auto:0] {assign var="adrs_style" value=$addresses_style} {foreach from=$multipleAddresses item=address name=myLoop} {$address.object.alias} {foreach from=$address.ordered name=adr_loop item=pattern} {assign var=addressKey value=" "|explode:$pattern} {foreach from=$addressKey item=key name="word_loop"} {$address.formated[$key|replace:',':'']|escape:'htmlall':'UTF-8'} {/foreach} {/foreach} » {l s='Update'} » {l s='Delete'} {/foreach} [code=auto:0] Any ideas on how to go about finding the missing data and what to do about correcting it? Thanks
- 1 reply
-
- Notice Undefined index
- addresses.tpl
-
(and 1 more)
Tagged with:
-
Trying to access the order page after I made a 1-click upgrade from 1.4 to 1.6 on local, I have an error displaying in place of the content: Notice: Undefined index: points in C:\wamp\www\prestashop-prod\cache\smarty\compile\c9\29\c7\c929c77002644a8c4a184d69188a2f691d84004d.file.shopping-cart.tpl.php on line 33 And below: Notice: Trying to get property of non-object in C:\wamp\www\prestashop-prod\cache\smarty\compile\c9\29\c7\c929c77002644a8c4a184d69188a2f691d84004d.file.shopping-cart.tpl.php on line 33 I deactivated any non-prestashop made module and override in the meanwhile, it doesn't seem to have any incidence on it. Clearing Smarty cache, I have those paths: Notice: Trying to get property of non-object in C:\wamp\www\prestashop-prod\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 33 Notice: Undefined index: points in C:\wamp\www\prestashop-prod\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 33 Please tell me if you need to see smarty_internal_templatebase.php code. Versions are as follow: Prestashop: 1.6.0.9 PHP: 5.5.12 MySQL: 5.6.17
-
Hi, after installing a new theme, I get these errors under some products: Notice: Undefined index: available_later in ~/cache/smarty/compile/9e/50/30/9e503030e7a29780c98b1b098642c67fdcdd3337.file.product-item.tpl.php on line 146 Notice: Undefined index: ENABLE_WISHLIST in ~/cache/smarty/compile/9e/50/30/9e503030e7a29780c98b1b098642c67fdcdd3337.file.product-item.tpl.php on line 198 Notice: Trying to get property of non-object in ~/cache/smarty/compile/9e/50/30/9e503030e7a29780c98b1b098642c67fdcdd3337.file.product-item.tpl.php on line 198 Does anybody know what is this about?
-
Hello everyone, yesterday i have updated the prestashop from 1.5.6.1 to 1.5.6.2 and i'm having some issues with the paypal module. I'm using the latest one and when a customer pays the products it redirect him to page with the following message. How i can solve it? Thank you Notice: Undefined index: SHIPTOSTATE in /home4/****/public_html/modules/paypal/express_checkout/payment.php on line 98 Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Address->address2 is empty' in /home4/****/public_html/classes/ObjectModel.php:837 Stack trace: #0 /home4/****/public_html/classes/ObjectModel.php(255): ObjectModelCore->validateFields() #1 /home4/****/public_html/classes/ObjectModel.php(596): ObjectModelCore->getFields() #2 /home4/****/public_html/classes/Address.php(186): ObjectModelCore->update(false) #3 /home4/****/public_html/classes/ObjectModel.php(417): AddressCore->update(false) #4 /home4/****/public_html/modules/paypal/express_checkout/payment.php(199): ObjectModelCore->save() #5 {main} thrown in /home4/****/public_html/classes/ObjectModel.php on line 837
-
Hi, I have a Prestashop 1.5.4.1 installed since last month. Everything is working smoothly and I have no mayor concerns except for small troubleshooting. I would appreciate any hint about php notices in Apache Logs, referred to missing indexes/non-objects in single.tpl.php and blockwishlist-extra.tpl Apache error log lines: PHP Notice: Undefined index: price in /public_html/cache/smarty/compile/7c/ .../.file.single.tpl.php on line 96 (and line 105) (this is Googlebot) PHP Notice: Trying to get property of non-object in /home/.../public_html/cache/smarty/compile/e8/5c/bc/e85cbca47174caddc0839c2d620bae90b6af311c.file.blockwishlist-extra.tpl.php on line 28 (this is Googlebot) PHP Notice: Undefined index: isLogged in /home/.../public_html/cache/smarty/compile/e8/5c/bc/e85cbca47174caddc0839c2d620bae90b6af311c.file.blockwishlist-extra.tpl.php on line 28 blockwishlist-extra.tpl has no line 28! I cannot find single.tpl, someone can help? Any help is appreciated!
-
Na de update vandaag van ideal professional van v2 naar v3 geeft ideal checkout ineens onterechte foutmeldingen. Na terugkeer vanuit de bank naar de shop krijgt de klant op het scherm de volgende boodschap te zien: Notice: Undefined index: status in /path_to_root/cache/smarty/compile /815866dec2a7614c0b05625f64d27976e7ca7975.file.order_confirmation.tpl.php on line 23 Notice: Undefined index: status in /path_to_root/cache/smarty/compile /815866dec2a7614c0b05625f64d27976e7ca7975.file.order_confirmation.tpl.php on line 28 Notice: Undefined index: status in /path_to_root/cache/smarty/compile /815866dec2a7614c0b05625f64d27976e7ca7975.file.order_confirmation.tpl.php on line 33 Bestelling mislukt Uw bestelling is geannuleerd ……… Probleem is alleen dat de foutmelding volledig onterecht is aangezien alles wordt afgehandeld zoals verwacht. Als je een betaling via iDeal doet gaat alles namelijk prima: de betaling wordt uitgevoerd de order wordt keurig verwerkt in de PS Backoffice de voorraad wordt netjes bijgewerkt etc. de klant ontvangt 2 emails: een orderbevestiging en een betalingsbevestiging wij ontvangen onze emails met de orderdetails Alles prima in orde dus, behalve die onterechte foutmelding. We hebben de volledige cache al eens handmatig verwijderd, maar dat maakt geen verschil. De iDeal betalingsmodule verwijderd en opnieuw geïnstalleerd, maar ook dat verandert niets. Iemand een suggestie in welke richting ik moet zoeken? PS, ter aanvulling: voor zover ik met firebug kan zien wordt er helemaal geen $_GET['status'] doorgegeven bij terugkeer naar de shop, dus dat verklaart wel waarom ik die foutmelding krijg. Maar waarom test ideal checkout daarop als die status helemaal niet wordt doorgegeven.
- 37 replies
-
Hello! After adding second language to PrestaShop, I've got error in any item form. Notice: Undefined index: 2 in httpdocs/tools/smarty/plugins/function.declension.php on line 14 Here is code function smarty_function_declension ($params,&$smarty) { $totl = null; $expressions = explode(',',$params['expressions']); $count = $params['nb'] % 100; if ($count >= 5 && $count <= 20) { $result = $totl . ' ' . $expressions['2']; //HERE IS ERROR } else { $count = $count % 10; if ($count == 1) { $result = $totl . ' ' . $expressions['0']; } elseif ($count >= 2 && $count <= 4) { $result = $totl . ' ' . $expressions['1']; } else { $result = $totl . ' ' . $expressions['2']; } } return $result; } As I understood problem is with $expressions, it should be defined in case if there is no value. May be someone cloud help me with it?
-
I get an error when adding a new address or when a user signs up for the first time and adds his address. The address adds but with the following error: John Smith Notice: Undefined index: in /home/prestashop/cache/smarty/compile/e056426ff0d662f9368502afdf33d54085f35731.file.addresses.tpl.php on line 204 P.O.Box 12345 Notice: Undefined index: in /home/prestashop/cache/smarty/compile/e056426ff0d662f9368502afdf33d54085f35731.file.addresses.tpl.php on line 204 MyCity MyCountry MyPhone number I dont know what to do from here
-
- Undefined index
- error
-
(and 1 more)
Tagged with: