Many thanks for your advice! I forgot to hide the directory 😞
This is the error log I get when access to orders or customers:
Argument 3 passed to DispatcherCore::createUrl() must be of the type array, int given, called in /var/www/vhosts/XXXXX/classes/Link.php on line 315
file /var/www/vhosts/XXXXX/classes/Dispatcher.php at line 1228
1209:
1210: /**
1211: * Create an url from
1212: *
1213: * @param string $routeId Name of the route
1214: * @param int $idLang
1215: * @param array $params
1216: * @param bool $forceRoutes
1217: * @param string $anchor Optional anchor to add at the end of this url
1218: * @param null $idShop
1219: *
1220: * @return string
1221: *
1222: * @throws PrestaShopException
1223: * @internal param bool $use_routes If false, don't use to create this url
1224: *
1225: * @since 1.0.0
1226: * @version 1.0.0 Initial version
1227: */
1228: public function createUrl($routeId, $idLang = null, array $params = [], $forceRoutes = false, $anchor = '', $idShop = null)
1229: {
1230: if ($idLang === null) {
1231: $idLang = (int) Context::getContext()->language->id;
1232: }
1233: if ($idShop === null) {
1234: $idShop = (int) Context::getContext()->shop->id;
1235: }
1236:
1237: if (!isset($this->routes[$idShop])) {
1238: $this->loadRoutes($idShop);