ERROR 500 / softacoulous

Hello, i don’t know what to do no access to sudo how can i fix it

LARAVEL LOG

[2021-10-25 11:19:21] production.ERROR: Cannot declare class UpdateDesigns, because the name is already in use {“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Cannot declare class UpdateDesigns, because the name is already in use at /home/ybrv7474/public_html/invoice5/database/migrations/2021_07_29_115919_update_designs.php:0)
[stacktrace]
#0 {main}
"}

I also tried delete this file : 2021_07_29_115919_update_designs.php

@david is there a fix for this?

1 Like

after deleting that file, you’ll want to run /update?secret=

the value of the secret query parameter will be the value of UPDATE_SECRET in your .env folder.

image

be sure that there are no /#/ references in the URL, the page should direct afterwards

It’s not blank anymore

HELLO,

Do you know what can i do now because even here I get error 500

Thank you

You could try deleting the contents of bootstrap/cache/

and then run /update?secret= again.

You need to upgrade from PHP 7.3 to PHP 7.4

I did but didn’t work

The error in the most recent logs shows the issue of PHP 7.3, once corrected, you’ll want to reinspect the logs.

@france, these are you access logs. there are additional logs in storage/logs/laravel.log

shall i delete all update_designs ?

It Works i had to keep only the latest one

1 Like