500: Internal Server Error

Traceback

Traceback (most recent call last):
  File "/opt/spoorg-odoo14ce-live/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 813, in dispatch
    r = self._call_function(**self.params)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 370, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/spoorg-odoo14ce-live/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 358, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 919, in __call__
    return self.method(*args, **kw)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 544, in response_wrap
    response = f(*args, **kw)
  File "/opt/spoorg-odoo14ce-live/addons_custom/website_seo_url_rewrite/controller/main.py", line 44, in shop
    pager = request.website.pager(url=url, total=qcontext.get("search_count"), page=page, step=ppg, scope=7, url_args=post)
  File "/opt/spoorg-odoo14ce-live/addons/website/models/website.py", line 761, in pager
    return pager(url, total, page=page, step=step, scope=scope, url_args=url_args)
  File "/opt/spoorg-odoo14ce-live/addons/portal/controllers/portal.py", line 36, in pager
    page_count = int(math.ceil(float(total) / step))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/spoorg-odoo14ce-live/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 813, in dispatch
    r = self._call_function(**self.params)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 370, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/spoorg-odoo14ce-live/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 358, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 919, in __call__
    return self.method(*args, **kw)
  File "/opt/spoorg-odoo14ce-live/odoo/http.py", line 544, in response_wrap
    response = f(*args, **kw)
  File "/opt/spoorg-odoo14ce-live/addons_custom/website_seo_url_rewrite/controller/main.py", line 44, in shop
    pager = request.website.pager(url=url, total=qcontext.get("search_count"), page=page, step=ppg, scope=7, url_args=post)
  File "/opt/spoorg-odoo14ce-live/addons/website/models/website.py", line 761, in pager
    return pager(url, total, page=page, step=step, scope=scope, url_args=url_args)
  File "/opt/spoorg-odoo14ce-live/addons/portal/controllers/portal.py", line 36, in pager
    page_count = int(math.ceil(float(total) / step))
TypeError: unsupported operand type(s) for /: 'float' and 'str'