First of all, launching ./maintenance/update.php could result in an error like "Main slot or revision (number) not found", since 1.18 is quite an old version. In the case, try to launch ./maintenance/populateContentTables.php.
Then, this Telegram group is devoted to help with MW.
Then, this Telegram group is devoted to help with MW.