Skip to content

Commit bd6ec5e

Browse files
committed
Fix: tuple index out of range on multisite install
1 parent 06be38c commit bd6ec5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/cli/plugins/site_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def setupwordpress(self, data):
218218
"\n\ndefine(\'WP_DEBUG\', false);"))
219219
EEShellExec.cmd_exec(self, "bash -c \"php /usr/bin/wp --allow-root "
220220
+ "core config "
221-
+ "--dbname={0} --dbprefix={1} --dbhost={3} "
221+
+ "--dbname={0} --dbprefix={1} --dbhost={2} "
222222
.format(data['ee_db_name'], ee_wp_prefix, data['ee_db_host'])
223223
+ "--dbuser={0} --dbpass={1} "
224224
"--extra-php<<PHP \n {2} {3} {4}\nPHP\""

0 commit comments

Comments
 (0)