Hi,
I recently updated WO to latest version and when trying to add a new website it throws the following error
root@host:~# wo site create domain.com
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Traceback (most recent call last):
File "/usr/local/bin/wo", line 8, in <module>
sys.exit(main())
File "/opt/wo/lib/python3.8/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.8/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/wo/cli/plugins/site_create.py", line 397, in default
php_version=php_version)
UnboundLocalError: local variable 'php_version' referenced before assignment
have tried updating the server OS, packages etc and all are done but still facing the same issue.
Does anyone has any suggestion to fix this.