Reparar error “1G is not a valid maximun size.” en Prestashop 1.7

  • [ES] Buscar y editar por FTP el archivo
    [EN] Search and edit this file by FTP
    /vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/File.php
  • [ES] Buscar estas lineas:
    [EN] Search this lines:

            $factors = array(
                'k' => 1000,
                'ki' => 1 << 10,
                'm' => 1000000,
                'mi' => 1 << 20,
            );
  • [ES] Reemplazarlo por estas lineas:
    [EN] Replace it with this lines:

            $factors = array(
                'k' => 1000,
                'ki' => 1 << 10,
                'm' => 1000000,
                'mi' => 1 << 20,
                'g' => 1000000000,
                'gi' => 1 << 30,
            );
  • [ES] Guarda el archivo
    [EN] Save the file