Server script is already in enable mode but it throws “please enable server script” and it wont get saved and also not execute the server scripts.
Hi;
Server script must be enabled via site_config.json
bench --site site1.local set-config server_script_enabled true
Réf: Server Script