creativetimofficial / ct-headless-cms-with-laravel-json-api-pro

Laravel REST API with the help of json:api standard
5 stars 2 forks source link

Getting the routing issue #6

Closed vrusua closed 3 years ago

vrusua commented 3 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

Please describe the behavior you are expecting

Failure Information (for bugs)

Unable to prepare route [api/v1/me] for serialization. Another route has already been assigned name [api:v1:].

Steps to Reproduce

I'm getting the above LogicException in CLI trying to call

php artisan route:cache

Context

Default installation, php 8

Failure Logs

  at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:217
    213▕             $route->name($name = $this->generateRouteName());
    214▕ 
    215▕             $this->add($route);
    216▕         } elseif (! is_null($symfonyRoutes->get($name))) {
  ➜ 217▕             throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
    218▕         }
teamupdivision commented 3 years ago

Hi Ruslan,

Thank you for reporting this issue.

We're investigating this and we'll get back with details and additional information shortly.

Best, UPDIVISION Team

teamupdivision commented 3 years ago

Hi Ruslan, @vrusua

We've pushed a fix to this problem. You can access it by downloading the product from the downloads section in the Creative Tim website.

Please let us know if everything works well now and if there is anything else we can help with.

All the best UPDIVISION Team

vrusua commented 3 years ago

Hi there, thanks for the update! Is there any chance to track the changes in git, or? I've also sorted this a couple weeks ago and wanted to sync your amends. Thanks!

teamupdivision commented 3 years ago

Hi there @vrusua,

Thank you. Can you please check below? Please let us know if there is anything else that can help.

unknown

Best, UPDIVISION Team

teamupdivision commented 3 years ago

Hi @vrusua,

Hope this solved the problem. We will go ahead and close this ticket. If there is anything else that can be fixed or we can help with, please let us know.

Best, UPDIVISION Team

P.S. If you need help with any of your projects, we're happy to get in touch. We do custom development for start-ups and companies across the globe (you can check out our portfolio here https://updivision.com/portfolio and some happy clients over here https://updivision.com/testimonials). Don`t hesitate to drop us a line at office@updivision.com or by using our contact form (https://updivision.com/contact).