Post by marc@63400 » Tue Apr 01, 2025 4:54 pm

This is my error and I only have this on the variables price-nex, price-old and price-tax, do you have any idea to help me... Thank you
I'm testing version 3.0.4.0 with them fresh
tk for all

PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /var/www/storage/cache/template/be/bed5526238325ca3014ae21e76ccc9f2216ad1c4cd7589c8f8166ee32389b36c.php:1577\nStack trace:\n#0 /var/www/3040/vendor/twig/twig/src/Template.php(405): __TwigTemplate_e6ac52ead0b9424f6185dbb1ee3cdfbfd08d2579632a5e99cc1e11e0d28cba1a->doDisplay()\n#1 /var/www/3040/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling()\n#2 /var/www/3040/vendor/twig/twig/src/Template.php(390): Twig\\Template->display()\n#3 /var/www/3040/vendor/twig/twig/src/TemplateWrapper.php(45): Twig\\Template->render()\n#4 /var/www/3040/vendor/twig/twig/src/Environment.php(318): Twig\\TemplateWrapper->render()\n#5 /var/www/3040/system/library/template/twig.php(35): Twig\\Environment->render()\n#6 /var/www/3040/system/library/template.php(51): Template\\Twig->render()\n#7 /var/www/3040/system/engine/loader.php(125): Template->render()\n#8 /var/www/3040/catalog/controller/product/product.php(469): Loader->view()\n#9 /var/www/3040/system/engine/action.php(79): ControllerProductProduct->index()\n#10 /var/www/3040/catalog/controller/startup/router.php(27): Action->execute()\n#11 /var/www/3040/system/engine/action.php(79): ControllerStartupRouter->index()\n#12 /var/www/3040/system/engine/router.php(67): Action->execute()\n#13 /var/www/3040/system/engine/router.php(56): Router->execute()\n#14 /var/www/3040/system/framework.php(179): Router->dispatch()\n#15 /var/www/3040/system/startup.php(104): require_once('...')\n#16 /var/www/3040/index.php(19): start()\n#17 {main}\n thrown in /var/www/storage/cache/template/be/bed5526238325ca3014ae21e76ccc9f2216ad1c4cd7589c8f8166ee32389b36c.php on line 1577, referer: http://192.168.1.45/index.php?route=common/home

New member

Posts

Joined
Wed Jun 30, 2021 12:24 am

Post by paulfeakins » Tue Apr 01, 2025 6:32 pm

No one can help you without knowing what code you've added and what you're trying to do ...

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by marc@63400 » Tue Apr 01, 2025 6:47 pm

I would like to post the page but there are too many characters, how can I send it?

New member

Posts

Joined
Wed Jun 30, 2021 12:24 am

Post by JNeuhoff » Tue Apr 01, 2025 7:22 pm

Please read the forum rules, and then post again with some more details, such as OC version, PHP version, extensions installed, web theme, website URL etc.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by OSWorX » Wed Apr 02, 2025 4:07 pm

marc@63400 wrote:
Tue Apr 01, 2025 4:54 pm
I'm testing version 3.0.4.0 with them fresh
Beside the fact, that you are not followed the Forum Rules, is it really so hard to post in the correct subforum?!
This is for OpenCart 4.x, and you ae asking something about 3.x

Topic therefore moved!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: Baidu [Spider] and 18 guests