Laravel 4: Fatal error: Class 'Patchwork\Utf8\Bootup' not found in autoload.php

16,914

This error seems to me like there is no patchwork/utf8 package installed.

See in your vendor folder whether the package exists or add in the require section in your composer.json file: "patchwork/utf8": "1.1.*" and then do composer update.

Share:
16,914
michaelsangma
Author by

michaelsangma

Developer (Freelance)

Updated on June 07, 2022

Comments

  • michaelsangma
    michaelsangma almost 2 years

    I added "cviebrock/image-validator": "1.0.*" to require section of composer.json. After, I ran composer update, I am getting this Fatal error.

    :::ERROR:::

    Fatal error: Class 'Patchwork\Utf8\Bootup' not found in F:\xampp\htdocs\project\
    bootstrap\autoload.php on line 46
    Script php artisan clear-compiled handling the post-update-cmd event returned wi
    th an error
    
    
    
      [RuntimeException]
      Error Output:
    
    
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock]
     [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-
    dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [
    packagesN]
    

    :::END of ERROR:::

    :::COMPOSER.JSON Require section:::

    "require": {
      "intervention/image": "2.*",
      "cviebrock/image-validator": "1.0.*"
    },
    

    I need help in rectifying this fatal error.

    Thanks & Regards,

    Michael Sangma