Jump to content

Recommended Posts

I have error log with smarty, undefined index at line 157,69,70,71,72,109,110 in file smarty_internal_templatebase.php. And site can not display pattern same CSS error. How can i fix it ? Thanks. 

Notice: Undefined index: grid_size_lg in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 69 
Notice: Undefined index: grid_size_md in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 70 
Notice: Undefined index: grid_size_sm in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 71 
Notice: Undefined index: grid_size_ms in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 72 
Notice: Undefined index: ajax_popup in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 109 
Notice: Undefined index: productlist_view in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 110
Edited by anonymous_itop (see edit history)

Share this post


Link to post
Share on other sites

 

I have error log with smarty, undefined index at line 157,69,70,71,72,109,110 in file smarty_internal_templatebase.php. And site can not display pattern same CSS error. How can i fix it ? Thanks. 

Notice: Undefined index: grid_size_lg in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 69 
Notice: Undefined index: grid_size_md in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 70 
Notice: Undefined index: grid_size_sm in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 71 
Notice: Undefined index: grid_size_ms in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 72 
Notice: Undefined index: ajax_popup in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 109 
Notice: Undefined index: productlist_view in public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 110

У меня то же самое, что с этим делать?

Share this post


Link to post
Share on other sites

what ps version you use and what prestashop template?

  • Like 1

Share this post


Link to post
Share on other sites

strange, this is first time when i see this error.

it started to appear without any reason? or you just changed something and it started to appear?

Share this post


Link to post
Share on other sites

My site also start acting strange

my isp upgraded server php and mysq (PHP version: 5.4.32,MySQL version: 5.5.37-cll,Server software version: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4, prestashop 1.6.0.9) after that I decided to di fresh install, but strange error on site stays

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 102

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 108

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 132

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 196

some of them in BO most in FO.

any idea?

Edited by kasutajanimi (see edit history)

Share this post


Link to post
Share on other sites

i also encounter the same problem when i try to upgrade my ps version 1.6.0.6 to 1.6.0.9

 

current solution that i get currently, i just replace the new version smarty with the oldest version from 1.6.0.6. for now, it solve my problem.

  • Like 1

Share this post


Link to post
Share on other sites

New to Prestashop, never had used it although I develop websites for more than 10 years.

 

I always prefered Joomla w/ Virtuemart or WordPress w/ WooCommerce. Since I have now a partner who has a ecommerce website for some time now and he is using Prestashop, I will keep it like that.

 

So, after this short introduction, I must say that I had never so many problems and errors before with any other software as I am having with Prestashop... :(

 

Maybe bad luck, maybe lack of knowledge, maybe a lot of things all together, but I don't consider myself a noob at this and I solved all problems I faced so far. BUT... (there is always a "but"), this problem I couldn't solve even replacing smarty from that specific version 1.6.0.6

 

As far as I could find on my short Google searches, it seems to be a recent problem yet with no solution.

 

This happens only in "Order" screen and I haven't even tested if this have any effect whatsoever while ordering...

 

oh man, I am so pissed with Prestashop right now and I am not even close to finish!

Share this post


Link to post
Share on other sites

When my shopping cart is empty, it appears this:

Your shopping cart contains:
Notice: Undefined index: productNumber in /home/lenteseo/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 134

Notice: Trying to get property of non-object in /home/lenteseo/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 134

Notice: Undefined index: productNumber in /home/lenteseo/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 135

Notice: Trying to get property of non-object in /home/lenteseo/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 135
products

And yes, I already cleaned cache from admin panel and also manually from FTP, nothing works and error is always the same!

Edited by plima (see edit history)

Share this post


Link to post
Share on other sites

My site also start acting strange

my isp upgraded server php and mysq (PHP version: 5.4.32,MySQL version: 5.5.37-cll,Server software version: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4, prestashop 1.6.0.9) after that I decided to di fresh install, but strange error on site stays

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 102

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 108

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 132

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 196

some of them in BO most in FO.

any idea?

 

Hi,

 

I have me too this error when try to export orders with standard button with the new PS 1.6.9.

 

With the previous version the function export worked correcly.

 

Did you fix it?

 

Thanks

Angela

Share this post


Link to post
Share on other sites

Same issue here, with a 1.6.0.9 shop upgraded from 1.6.0.6

I replaced smarty as imiedesu suggested and now it works.

 

Hi,

 

Please, what are the dir of files to replace?

 

thanks

:)

Share this post


Link to post
Share on other sites

Hi,

 

Please, what are the dir of files to replace?

 

thanks

:)

 

On the main root find the "Tools" dir, then the "Smarty" dir and then the "sysplugins" dir. I replaced everything there with the same files from the 1.6.0.6 version and problem solved.

 

Exact path: .../tools/smarty/sysplugins

Share this post


Link to post
Share on other sites

On the main root find the "Tools" dir, then the "Smarty" dir and then the "sysplugins" dir. I replaced everything there with the same files from the 1.6.0.6 version and problem solved.

 

Exact path: .../tools/smarty/sysplugins

Many thanks,

 

but unfortunately I have again error:

 

This is now the error when i try to export orders : 

21-Oct-2014 18:06:16 Europe/Rome] PHP Fatal error:  Call to a member function getAdminLink() on a non-object in mysite/cache/smarty/compile/06/ba/3b/06ba3bb0b0f4141c8ba4fe682fcb4593366083ac.file._print_pdf_icon.tpl.php on line 34

 

any idea?

 

thanks

angela

Share this post


Link to post
Share on other sites

Many thanks,

 

but unfortunately I have again error:

 

This is now the error when i try to export orders : 

21-Oct-2014 18:06:16 Europe/Rome] PHP Fatal error:  Call to a member function getAdminLink() on a non-object in mysite/cache/smarty/compile/06/ba/3b/06ba3bb0b0f4141c8ba4fe682fcb4593366083ac.file._print_pdf_icon.tpl.php on line 34

 

any idea?

 

thanks

angela

 

Go to your public_html, open the "cache" directory and then the "smarty" directory. Then rename the "compile" directory to "compile_' and try again.

Share this post


Link to post
Share on other sites

Go to your public_html, open the "cache" directory and then the "smarty" directory. Then rename the "compile" directory to "compile_' and try again.

 

Always the same error :(

Share this post


Link to post
Share on other sites

I had done all these things and I keep ALWAYS receiving the same errors, again and again... :(

 

Your shopping cart contains:
Notice: Undefined index: productNumber in /home/host/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 134

Notice: Trying to get property of non-object in /home/host/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 134

Notice: Undefined index: productNumber in /home/host/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 135

Notice: Trying to get property of non-object in /home/host/dev/cache/smarty/compile/ff/f1/3a/fff13a1de5db569bd655a045cd677e8709b31a0c.file.shopping-cart.tpl.php on line 135
products

 

EDIT:

This happens only when my shopping cart is empty...

Edited by plima (see edit history)

Share this post


Link to post
Share on other sites
@plima (make sure to post new topics for your questions)
 
do you have actual issue , i.e. cart problems?
 
IF NOT:
------

turn off prestashop error reporting..these are just notices...

having prestashop display errors/noices etc. turned on can lead to unexpected problems.

  • Like 1

Share this post


Link to post
Share on other sites

 

@plima (make sure to post new topics for your questions)
 
do you have actual issue , i.e. cart problems?
 
IF NOT:
------

turn off prestashop error reporting..these are just notices...

having prestashop display errors/noices etc. turned on can lead to unexpected problems.

 

 

Oh I see! Since I'm using Prestashop 1.6 I went to "config/defines.inc.php" and saw this:

 

define('_PS_MODE_DEV_', true);

 

Then I saw this bellow:

 

if (_PS_MODE_DEV_){

    @ini_set('display_errors', 'on');

    @error_reporting(E_ALL | E_STRICT);

    define('_PS_DEBUG_SQL_', true);

}else{

    @ini_set('display_errors', 'off');

    define('_PS_DEBUG_SQL_', false);

}

 

And everything makes sense to me now. :)

 

Thank you for your help.

Edited by plima (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites

Hello,

 

I'm getting similar errors as in this post.

 

 Notice on line 64 in file /home/<homedir>/public_html/<prestadir>/cache/smarty/compile/41/a8/b0/41a8b0b9fa92fc88d107c355d1994bc74eb5c887.file.content.tpl.php

[8] Undefined index: nbErrors

Notice on line 64 in file /home/<homedir>/public_html/<prestadir>/cache/smarty/compile/41/a8/b0/41a8b0b9fa92fc88d107c355d1994bc74eb5c887.file.content.tpl.php
[8] Trying to get property of non-object

 

PS 1.6.0.9

No major changes. 

Debug mode shows below error when I go to back office sign in page.

I have cleared cache, disabled all performance options, cleared smarty cache manually still no luck.

Also copied all contents of ..../tools/smarty/ from a backup 1.6.0.9 fresh installation, still same error.

 

Please help as my production server is hit :(

 

post-874455-0-33932800-1423507111_thumb.png

post-874455-0-36622200-1423507113_thumb.png

Share this post


Link to post
Share on other sites

I got a similar problem after upgrading to 1.6.0.14 (from 1.6.0.6). It happens when I access any product editor page in BO.

PHP Fatal error:  Call to undefined method Product::resolveBoMinQty() in ~/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 714

While in inspect element I get:

ReferenceError: Can't find variable: $

I tried to follow your advice to copy the /tools/smarty/sysplugins/ content of the previous version, but the ReferenceError remains and in error_log I get:

PHP Fatal error:  Call to undefined method Product::resolveBoMinQty() in ~/public_html/cache/smarty/compile/94/e7/cf/94e7cf9f45c8beb6b12f883571fc251a495ec901.file.form.tpl.php on line 714

Did anybody of you manage to solve this issue?

 

Thanks

Edited by seowebmaster (see edit history)

Share this post


Link to post
Share on other sites

I am using 1.6.0.14 and standard theme, I got the same error when showing the product's reference number. 

tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
I have tried disable cache, rename smarty/compile folder ... still get the same error. But this is not fatal...
For other parts, it seems normal !
 
Thanks in advance.

Share this post


Link to post
Share on other sites

I have this error:

 PHP Notice:  Undefined index: customization_quantity in /var/www/prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 60, referer: http://multidenda.gara.net/prestashop/es/module/bankwire/payment

And this is the line 157 in smarty_internal_templatebase.php:

eval("?>" . $code);

IIn my case I solved this error when closing the php tag ?> in ParentOrderController.php. 

Share this post


Link to post
Share on other sites

I have this error:

 PHP Notice:  Undefined index: customization_quantity in /var/www/prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 60, referer: http://multidenda.gara.net/prestashop/es/module/bankwire/payment

And this is the line 157 in smarty_internal_templatebase.php:

eval("?>" . $code);

IIn my case I solved this error when closing the php tag ?> in ParentOrderController.php. 

Thanks.

 

In my case, cache/smarty/compile/c8/5e/3d/c85e3d722f1d7672a0cd389f3851215b87d1b79f.file.product-list.tpl.cache.php on line 199

I try to find it in product-list.tpl but the file do not require  ?>...

 

Any tips  ?

Share this post


Link to post
Share on other sites

Thanks.

 

In my case, cache/smarty/compile/c8/5e/3d/c85e3d722f1d7672a0cd389f3851215b87d1b79f.file.product-list.tpl.cache.php on line 199

I try to find it in product-list.tpl but the file do not require  ?>...

 

Any tips  ?

Finally, I fixed it but the solution  does not relate to "?>".

 

Summary: I wanted to display product.reference to product, bestselling, popular block. But, product.reference has not been retrieved from SQL. Finally, I added them back (with this thread https://www.prestashop.com/forums/topic/437169-product-reference-in-product-list-prestashop-16-again/?do=findComment&comment=2031335). 

Error "eval("?>" . $code);" no longer exist. 

Share this post


Link to post
Share on other sites

Hi,

To solve the Eval error,

1. try put the cache in system files, not mysql (clear cache)

2. if not solve, use system files cache, and use php 5.3

 

I get this erros in php 5.4, with modules that using clearcache function and when enable the mysql in cache.

 

Thanks

Mauro

Share this post


Link to post
Share on other sites

Error eval()'d is not generated by standard files Prestashop, but by a nonstandard module - try to disable one by one active modules that are not signed by PrestaShop. One of the modules not properly used the php tags <? ?>

After identifying the module that generates the problem, check in yours code the tags PHP (<?php and ?>)

Share this post


Link to post
Share on other sites

Hi to All,

 

When i am connecting to payu india i am geting this error how to solve this i am using prestashop 1.6.0.9+

 

Notice: Undefined index: is_article in /home/burj/public_html/include/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 58

Notice: Trying to get property of non-object in /home/burj/public_html/include/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 58

 

 

Thanks

Share this post


Link to post
Share on other sites

Notice on line 585 in file /home/eshoppin/public_html/controllers/admin/AdminModulesController.php
[8] Undefined index: newfile this is my error when i upload a module

Share this post


Link to post
Share on other sites

I have the same sort of error, just started. No updated made, no modules changed from when it worked without problem. I cleared the cache and cleaned the database, but no change. It happens when I go to an order page, then a list of 11 errors appears, all in the form of:

 

Notice on line 42 in file /homepages/36/ [deleted part of address relating to htdocs in case this is a security issue] /cache/smarty/compile/30/eb/86/30eb86fc5c265ec97be9a114bc59fcb0126bac91.file.adminOrder.tpl.php
[8] Undefined index: ipAddress

 

In common is adminOrder.tpl.php but the final part (here as ipAddress) changes, like 'latitude' and 'timezone' with different line numbers.

 

Some orders work fine, others have this behaviour but appear to otherwise work. I do not know enough of how to start to fix this; I do not understand much of coding. It never happened before with a working site. What can I try to fix this?

Share this post


Link to post
Share on other sites

i got a similar error on the final invoice.... which got generated after payment was made.

 

attaching screenshot.

 

can you please help with the same....

 

post-1160506-0-34665200-1450776038_thumb.png

Share this post


Link to post
Share on other sites

Hi,

I have same error when I try to open new order in my BO (PS 1.6.0.9.). Strange is the order is without any product and without status. The payment arrived to paypal, but the order in BO doesnt have even "awaiting payment" status or any status at all......

 

It will happend randomly. Some order is OK, some ends in this weird condition with no products inside the order.

 

Notice on row 120 in file /web/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Trying to get property of non-object
 
Notice on row 361 in file /web/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Trying to get property of non-object

Share this post


Link to post
Share on other sites

 

Hi,

I have same error when I try to open new order in my BO (PS 1.6.0.9.). Strange is the order is without any product and without status. The payment arrived to paypal, but the order in BO doesnt have even "awaiting payment" status or any status at all......

 

It will happend randomly. Some order is OK, some ends in this weird condition with no products inside the order.

 

Notice on row 120 in file /web/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Trying to get property of non-object
 
Notice on row 361 in file /web/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Trying to get property of non-object

 

 

One observation - customer told me it was after he paid on paypal. He should return to my store but he saw only white page with some errors... strange is there is nothing in error log of the actual hsoting service on that time.

Share this post


Link to post
Share on other sites

open back office go prefrence -order -select -order-step

 

You mean instead of order on one page select the standard (5 steps) order process? How that can possibly help?

Share this post


Link to post
Share on other sites

I've installed prestashop 1.6.1.4 and in error_log file on host, i'm getting these errors:

PHP Notice:  Undefined index: homeSize in /home/user/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
PHP Notice:  Trying to get property of non-object in /home/user/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75

how can I fix this?

Edited by Rosha (see edit history)

Share this post


Link to post
Share on other sites

Hi!

 

I had similar problem with images without name (i have a lot of them on the product page). The problem was solved when I turn off Mod dev. 

Share this post


Link to post
Share on other sites

Hi,

I have similar problem with my e-commerce

Notice: Trying to get property of non-object in /home/salonsho/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 124

Notice: Undefined index: PTS_SKIN_DEFAULT in /home/salonsho/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 129

Notice: Trying to get property of non-object in /home/salonsho/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 129

Notice: Undefined index: PTS_LANG_RTL in /home/salonsho/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 136

When access  from the mobile device...

Prestashop Version 1.6.0.13

php 5.3.29

 

I guess that is caused with the database....

Can you tell me in which tables in the database are stored information that can be associated with this error?

 

Please ASAP help!

post-815230-0-31352000-1458235025_thumb.png

Edited by eklipsa (see edit history)

Share this post


Link to post
Share on other sites

Hello,I use prestashop 1.61.2 and I use multishop option
I duplicate the theme to customize it for each shop
but when I enable the duplicated shop I have this error in the front office.I was have 500 errors but when I enable define('_PS_MODE_DEV_', true); I got this error
I am using a prenium theme

Fatal error: Class 'OvicLayoutControl' not found in tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 62

Any idea please

Share this post


Link to post
Share on other sites

PrestaShop doesn't have an OvicLayoutControl class, so it must be a third-party module causing the problem. Search all your third-party modules for that class name.

  • Like 1

Share this post


Link to post
Share on other sites

I have disabled all plugins and I also have tha same problem so I enable them one by one and I got this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in/srv/data/web/vhosts/www.nevadalove.paris/htdocs/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 188

 

on line 188: I have this :

 

$_template->properties['unifunc']($_template);

Share this post


Link to post
Share on other sites

It seems 128M isn't enough memory for the theme you have installed. Try increasing the memory limit in your php.ini file.

  • Like 1

Share this post


Link to post
Share on other sites

thanks for all your suggestion. It was impossible with the host to increase the memory limit in your php.ini file. And it seems the problem is with  the theme I use so I change it and it works fine now

  • Like 1

Share this post


Link to post
Share on other sites

I had this issue after migrating to a new server. I moved to a dedicated server with twice the horsepower and the public facing side of the site was running 20 second load times, and super high CGI CPU.  Running on IIS,  you need to update all the file/folder permissions.  Ensure your IIS user has read, write and modify permission.  The modify was the ticket as PS was not able to delete certain file.  

Share this post


Link to post
Share on other sites

Hi,

 

I think you have to check following :

 

1] check your config/defines.inc.php, define('_PS_MODE_DEV_', false);

    if above is true.

 

2] If you can login into admin and clear your cache.

 

Hope this will help you.

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

My site also start acting strange

my isp upgraded server php and mysq (PHP version: 5.4.32,MySQL version: 5.5.37-cll,Server software version: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4, prestashop 1.6.0.9) after that I decided to di fresh install, but strange error on site stays

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 102

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 108

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 132

public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 196

some of them in BO most in FO.

any idea?

 

 

ok, a really old post. I just received a similar error after migrating to php7, centos 7. So a quick compare of php ini indicated the new server memory limit was too low. Increased from the 32M set during server build to 200M and the errors went away.

Share this post


Link to post
Share on other sites

i have problem  on PS 1.7 maybe some one can help me?

 

ContextErrorException in 6ce08f6ef210ea2912f5994301aa4e1a1abcda68.file.product.tpl.php line 554:Notice: Undefined index: category
  1. in 6ce08f6ef210ea2912f5994301aa4e1a1abcda68.file.product.tpl.php line 554
  2. at ErrorHandler->handleError('8', 'Undefined index: category', '/home/mole24/domains/testas.mobile24.lt/public_html/app/cache/dev/smarty/compile/layouts_layout_right_column_tpl/6c/e0/8f/6ce08f6ef210ea2912f5994301aa4e1a1abcda68.file.product.tpl.php', '554', array('_smarty_tpl' => object(Smarty_Dev_Template), '_tpl_stack' => array(), '_from' => array())) in 6ce08f6ef210ea2912f5994301aa4e1a1abcda68.file.product.tpl.php line 554
  3. at content_5904cc51d0d498_52052731(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-right-column.tpl', object(SmartyDev), falsetruefalse) in SmartyDev.php line 41
  5. at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-right-column.tpl') in FrontController.php line 660
  6. at FrontControllerCore->smartyOutputContent('catalog/product.tpl') in FrontController.php line 644
  7. at FrontControllerCore->display() in Controller.php line 225
  8. at ControllerCore->run() in Dispatcher.php line 369
  9. at DispatcherCore->dispatch() in index.php line 28

 

Share this post


Link to post
Share on other sites

 Notice: Undefined index: hazmat_fees in /var/www/html/cy_prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 384

 

Notice: Undefined index: poison_fees in /var/www/html/cy_prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 398

 

Notice: Undefined index: refrigerated_fees in /var/www/html/cy_prestashop/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 412

 

How to resolve this problem. I am using prestashop version 1.6.1.15

Share this post


Link to post
Share on other sites

PrestaShop doesn't have $hazmat_fees, $poison_fees or $refrigerated_fees variables, so you must have installed a third-party module that creates these variables. Find that module and contact the developer of the module for support.

Share this post


Link to post
Share on other sites

I have same kind of issue in my prestashop store. I have Prestashop 1.6..0.4 when i click the category so can't show a black page with this error "

This page isn’t working

www.apparelprime.com is currently unable to handle this request.

HTTP ERROR 500

"

Please help me. any solution?

 

category.png

Share this post


Link to post
Share on other sites

Edit config/defines.inc.php and change the value of _PS_MODE_DEV_ from false to true. You should then get an error message instead of a 500 error that should help you debug the problem.

Share this post


Link to post
Share on other sites

ContextErrorException en 4f4a0120120279100d12a6e9be1d212162eda7e3.file.login.tpl.php línea 36 :
Aviso: índice indefinido: tpl_dir
en 4f4a0120120279100d12a6e9be1d212162eda7e3.file.login.tpl.php línea 36
en ErrorHandler -> handleError ('8', 'Índice no definido: tpl_dir', 

a content_5a3309d23148a3_66186756 ( objeto ( Smarty_Custom_Template )) en la línea 188 de smarty_internal_templatebase.php
en Smarty_Internal_TemplateBase -> fetch ( objeto ( Smarty_Custom_Template ), nulo , nulo , nulo , falso , verdadero , falso ) en SmartyCustom.php línea 317
en Smarty_Custom_Template -> fetch () en Module.php línea 2241

en TrackingFront -> displayLogin () en stats.php línea 35

Me da este error al intentar acceder a la url de afiliados a traves del modulo TrackingFront

Alguna sugerencia?

Share this post


Link to post
Share on other sites

From the error message, it appears the problem is on line 33 (in PrestaShop v1.6.1.17) of modules/trackingfront/views/template/front/login.tpl:

{include file="$tpl_dir./errors.tpl"}

On your website, $tpl_dir is not defined, which is weird, since it should be defined on line 444 (in PrestaShop v1.6.1.17) of classes/FrontController.php:

            'tpl_dir'             => _PS_THEME_DIR_,

Are you trying to use the PrestaShop v1.6 tracking module in PrestaShop v1.7? That would explain this error, since the module does not support PrestaShop v1.7.

 

Share this post


Link to post
Share on other sites
8 minutes ago, rocky said:

Del mensaje de error, parece que el problema está en la línea 33 (en PrestaShop v1.6.1.17) de modules / trackingfront / views / template / front / login.tpl:

{include file = "$ tpl_dir./errors.tpl"}

En su sitio web, $ tpl_dir no está definido, lo cual es extraño, ya que debe definirse en la línea 444 (en PrestaShop v1.6.1.17) de clases / FrontController.php:

            'tpl_dir' => _PS_THEME_DIR_,

¿Está tratando de usar el módulo de seguimiento PrestaShop v1.6 en PrestaShop v1.7? Eso explicaría este error, ya que el módulo no es compatible con PrestaShop v1.7.

 

ok, Thanks! I have Prestashop v1.7.

Share this post


Link to post
Share on other sites

Then you'll need to delete the trackingfront module, since it's not compatible. There is no version of that module that works in PrestaShop v1.7 at the moment.

Share this post


Link to post
Share on other sites
On 8/29/2014 at 11:09 PM, vekia said:

what ps version you use and what prestashop template?

Notice: Trying to get property of non-object in /var/www/cravate/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 58

any help??

Share this post


Link to post
Share on other sites

Hi,

I am getting this error:

Notice: Undefined index: quan in /home/savdanac/public_html/cache/smarty/compile/87/9e/e7/879ee725fa3cfb1d580be3d886242a16ff32cf72.file.product.tpl.php on line 101

Notice: Trying to get property of non-object in /home/savdanac/public_html/cache/smarty/compile/87/9e/e7/879ee725fa3cfb1d580be3d886242a16ff32cf72.file.product.tpl.php on line 101

 

Anyone knows what's happening?

 

Share this post


Link to post
Share on other sites

Hi,

I am getting error while executing code: $first.product_list[0].carrier_list[0] in order-carrier.tpl

error: <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>252</b><br /> hide">

 

<table class="delivery_option_carrier selected resume table table-bordered"><tbody><tr><td rowspan="2" class="delivery_option_radio first_item"> <div class="radio" id="uniform-delivery_option_27_0"><span class="checked"><input id="delivery_option_27_0" class="delivery_option_radio" type="radio" name="delivery_option[27]" data-key="90,89," data-id_address="27" value="90,89," checked="checked"></span></div></td>  <td class="delivery_option_logo<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>252</b><br /> hide"> <img class="order_carrier_logo" src="/mystore/img/s/90.jpg" alt="free shipping"></td><td class="<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>262</b><br /> hide"> <input type="hidden" value="90" name="id_carrier"> <i class="icon-info-sign"></i> 2-3&nbsp;(For this product: WigOWig Long Beautiful Extension for Ladies(Washable &amp; Curlable hair) Hair Extension)</td><td rowspan="2" class="delivery_option_price"><div class="delivery_option_price">Frees</div></td></tr><tr><td class="delivery_option_logo<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>330</b><br /> hide"> <img class="order_carrier_logo" src="/mystore/img/s/89.jpg" alt="Free Shipping non cod"></td><td class="<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>340</b><br /> hide"> <input type="hidden" value="90" name="id_carrier"> <i class="icon-info-sign"></i> 4-5&nbsp;(For this product: Curren Men Black Decker Planet Ocean Analog Watch)</td></tr></tbody></table>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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