I just migrated a test version from Prestashop 1.6 to Thirtybees.
The migration was successful, but after the migration I couldn't do anything in my BO.
I logged out and tried to login but I got a 500 Server error on both my BO and FO.
I've resolved my BO problem but still can't resolve the server error in my FO.
The errors I got when I turned debugmode on were :
Warning: math: parameter nbItemsPerLineLarge is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter nbItemsPerLineDesktop is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter nbItemsPerLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter nbItemsPerLineTablet is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter nbItemsPerLineMobile is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter nbItemsPerLinePortrait is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Warning: math: parameter perLine is empty in /home/shops/public_html/privetestwesley01/vendor/smarty/smarty/libs/plugins/function.math.php on line 63
Notice: Undefined index: totModuloLarge in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 311
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 311
Notice: Undefined index: totModuloDesktop in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 312
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 312
Notice: Undefined index: totModulo in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 313
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 313
Notice: Undefined index: totModuloTablet in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 314
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 314
Notice: Undefined index: totModuloMobile in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 315
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 315
Notice: Undefined index: totModuloPortrait in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 316
Notice: Trying to get property of non-object in /home/shops/public_html/privetestwesley01/cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php on line 316
And
[ThirtyBeesException]
Modulo by zero
at line 324 in file cache/smarty/compile/fd/61/93/fd6193ba43713e046587cadfaa60d26b11bf679d.file.product-list.tpl.cache.php
319. col-md-<?php echo smarty_modifier_replace((12/Smarty::$_smarty_vars['capture']['nbItemsPerLine']),'.','-');?>
320. col-sm-<?php echo smarty_modifier_replace((12/Smarty::$_smarty_vars['capture']['nbItemsPerLineTablet']),'.','-');?>
321. col-xs-<?php echo smarty_modifier_replace((12/Smarty::$_smarty_vars['capture']['nbItemsPerLineMobile']),'.','-');?>
322. col-xxs-<?php echo smarty_modifier_replace((12/Smarty::$_smarty_vars['capture']['nbItemsPerLinePortrait']),'.','-');?>
323.
324. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineLarge']==0) {?> last-item-of-large-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineLarge']==1) {?> first-item-of-large-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloLarge']->value)) {?> last-large-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLineLarge']) {?> first-large-line<?php }?>
325. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineDesktop']==0) {?> last-item-of-desktop-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineDesktop']==1) {?> first-item-of-desktop-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloDesktop']->value)) {?> last-desktop-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLineDesktop']) {?> first-desktop-line<?php }?>
326. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLine']==0) {?> last-in-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLine']==1) {?> first-in-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModulo']->value)) {?> last-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLine']) {?> first-line<?php }?>
327. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineTablet']==0) {?> last-item-of-tablet-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineTablet']==1) {?> first-item-of-tablet-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloTablet']->value)) {?> last-tablet-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLineTablet']) {?> first-tablet-line<?php }?>
328. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineMobile']==0) {?> last-item-of-mobile-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLineMobile']==1) {?> first-item-of-mobile-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloMobile']->value)) {?> last-mobile-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLineMobile']) {?> first-mobile-line<?php }?>
329. <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLinePortrait']==0) {?> last-item-of-portrait-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%Smarty::$_smarty_vars['capture']['nbItemsPerLinePortrait']==1) {?> first-item-of-portrait-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloPortrait']->value)) {?> last-portrait-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['index']<Smarty::$_smarty_vars['capture']['nbItemsPerLinePortrait']) {?> first-portrait-line<?php }?>">
Did anyone else encounter this problem?
Or does anyone have a solution? Please let me know.
Question
Wesley
I just migrated a test version from Prestashop 1.6 to Thirtybees.
The migration was successful, but after the migration I couldn't do anything in my BO.
I logged out and tried to login but I got a 500 Server error on both my BO and FO.
I've resolved my BO problem but still can't resolve the server error in my FO.
The errors I got when I turned debugmode on were :
And
Did anyone else encounter this problem?
Or does anyone have a solution? Please let me know.
Link to comment
Share on other sites
3 answers to this question
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