Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Metronic v8.0.36 phpmailer problem


I have the following problem when I want to integrate the latest version of metronic v8.0.36


Problem 1
- Root composer.json requires laravel/framework ^9.0, found laravel/framework[v9.0.0-beta.1, ..., 9.x-dev] but the package is fixed to v8.
by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
- Root composer.json requires nunomaduro/collision ^6.1 -> satisfiable by nunomaduro/collision[v6.1.0].
- nunomaduro/collision v6.1.0 requires filp/whoops ^2.14.5 -> found filp/whoops[2.14.5] but the package is fixed to 2.14.4 (lock file vers
and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require nunomaduro/collision:*" to figure out
llable, or "composer require nunomaduro/collision:^2.1" if you know which you need.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


I see you are trying to use Laravel 9.0 which may be the issue as some of the packages that are used my Metronic are not yet supported in Laravel 9.0,but just looking at the returned exception.

nunomaduro/collision v6.1.0 requires filp/whoops ^2.14.5 and you currently have 2.14.4 installed.

You will need to upgrade filp/whoops to 2.14.5 before you can move forward.



Good afternoon, I have already made that update but it keeps showing me those and other errors.



Try using laravel .8x instead of .9x



but version v8.0.36 already comes with that version of laravel 9



Hi,

It seems there are many 3rd party packages that do not support Laravel 9 yet. This should be fixed when the packages have the support for it soon. In the meantime, could you please use v8 instead?

These 2 plugins currently do not support Laravel 9.
- jackiedo/log-reader
- renatomarinho/laravel-page-speed

Please use below for your composer.json file.

"require": {
"anlutro/l4-settings": "^1.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"jackiedo/log-reader": "^2.1",
"laravel/framework": "^8.83.1",
"laravel/socialite": "^5.2",
"laravel/tinker": "^2.5",
"renatomarinho/laravel-page-speed": "^2.0",
"spatie/laravel-activitylog": "^4.0",
"spatie/laravel-permission": "^4.0",
"yajra/laravel-datatables-buttons": "^4.10",
"yajra/laravel-datatables-oracle": "~9.0"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.9",
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.0",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3",
"roave/security-advisories": "dev-latest"
},


Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(