REQUEST_DATE: 2022-07-18 15:53:25
PAN_VERSION: 7.9.3
OS_VERSION: Debian GNU/Linux 11 x86_64(Py3.7.9)
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1520, in full_dispatch_request
return self.finalize_request(rv)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1541, in finalize_request
response = self.process_response(response)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1885, in process_response
response = self.ensure_sync(func)(response)
File "class/flask_compress.py", line 86, in after_request
if 'dologin' in g and app.config['SSL']:
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/local.py", line 278, in __get__
obj = instance._get_current_object()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/local.py", line 407, in _get_current_object
return self.__local() # type: ignore
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/globals.py", line 40, in _lookup_app_object
raise RuntimeError(_app_ctx_err_msg)
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
to interface with the current application object in some way. To solve
this, set up an application context with app.app_context(). See the
documentation for more information. |
|