Installation: Deprecation Warnings

Laraship QuestionsCategory: TechnicalInstallation: Deprecation Warnings
Scott Kallen asked 4 years ago
I am installing Laraship Elite on an AWS EC2 instance and while I finally seemed to get it to install, I got MANY deprecation warnings, all of which looked essentially like this:
Deprecation Notice: Class Corals\Foundation\Models\Relations\hasManyDeep located in ./Corals/core/Foundation/Models/Relations/HasManyDeep.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Has this been addressed?  Please let me know ASAP. Thank you!
scott replied 4 years ago

Yes. The owner re-downloaded the latest version and I was able to get it to install. We are still having some configuration issues, though.

2 Answers
Best Answer
laraship Staff answered 4 years ago
Hello Scott, Are you using the latest laraship release? because our team has addresses the deprecation issues for composer 2 since a month ago.
scott replied 4 years ago

We purchased and downloaded the product in May. I tried the update to Laraship 7.0 from your blog which completed, although with errors. This is a fresh install but I could not find any place to re-download the current version of your product. Can you help?

laraship Staff replied 4 years ago

You can download the latest version from your account dashboard

scott replied 4 years ago

Also–I struggled to try to get this to install using PHP 7.3 and finally gave up and went to 7.2. I couldn’t get the ImageMagick module to install (I believe they’ve shifted to GraphicsMagick) and your installation requires it. I spent a couple of days trying to get it to install in 7.3. Worth looking into to save your customers a lot of hassle.

laraship Staff answered 4 years ago
Hello ImageMagiic is available for php 7.3 and 7.4 as well       https://mlocati.github.io/articles/php-windows-imagick.html\”>https://mlocati.github.io/articles/php-windows-imagick.html</p&gt;
scott replied 4 years ago

I am running Linux. I tried Amazon Linux but replaced it with Ubuntu, hoping that was the issue. It was not.