Jump to content

template_error - DivisionByZeroError


Recommended Posts

DivisionByZeroError: Division by zero in /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/uploads/template_109_332e5eb3dbfb47dce95fbfdfc706f0dc_editor.php:621
Stack trace:
#0 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_editor->image('topic_content', '0', 0.0, '0', '0', NULL, NULL, 1.0, 1.0, '', '''')
#1 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/applications/core/modules/front/system/editor.php(91): IPS\Theme\_SandboxedTemplate->__call('image', Array)
#2 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image()
#3 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#4 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/index.php(13): IPS\_Dispatcher->run()
#5 {main}

 

#0 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(DivisionByZeroError), 'template_error')
#1 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/applications/core/modules/front/system/editor.php(91): IPS\Theme\_SandboxedTemplate->__call('image', Array)
#2 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image()
#3 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#4 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/index.php(13): IPS\_Dispatcher->run()
#5 {main}

Link to comment
Share on other sites

DivisionByZeroError: Division by zero in /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/uploads/template_109_332e5eb3dbfb47dce95fbfdfc706f0dc_editor.php:621
Stack trace:
#0 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_editor->image('topic_content', '0', 0.0, '0', '0', NULL, NULL, 1.0, 1.0, '', '''')
#1 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/applications/core/modules/front/system/editor.php(91): IPS\Theme\_SandboxedTemplate->__call('image', Array)
#2 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image()
#3 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#4 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/index.php(13): IPS\_Dispatcher->run()
#5 {main}

 

#0 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(DivisionByZeroError), 'template_error')
#1 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/applications/core/modules/front/system/editor.php(91): IPS\Theme\_SandboxedTemplate->__call('image', Array)
#2 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image()
#3 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#4 /var/www/563514d3-8ae0-4e69-a562-14d8a16e05cb/public_html/index.php(13): IPS\_Dispatcher->run()
#5 {main}

Link to comment
Share on other sites

Posted (edited)

I'm not sure if you're experiencing any outage, but your forum is taking 30 seconds to load. Please verify this. The issues occurred suddenly; nothing has been edited in the template for a month.

Edited by Grafidea
Link to comment
Share on other sites

4 minutes ago, Grafidea said:

I'm not sure if you're experiencing any outage, but your forum is taking 30 seconds to load. Please verify this. The issues occurred suddenly; nothing has been edited in the template for a month.

We are aware of the speed issues on our site. 

I appreciate what you are saying there, but that being the case, the same could be said for anything else causing the problem

Link to comment
Share on other sites

The software is not the place where you would want to block/ban an IP address.  If they reach the software, the request still has to be executed.  You would want to block them either at the network layer with a WAF (like Cloudflare) or at the server layer with a server firewall (CSF or .htaccess blocking).

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...