Urgent Articles Not Display After Update Migrate

0

Dear Support Team,

I hope this message finds you well. I am writing to bring to your attention a critical issue I have encountered after updating to the latest version of our application and running the command 'php artisan migrate --force'. Subsequently, the articles in the system are not displaying as expected.

Here are the details of the issue:

Description:
After updating to the latest version and executing the migration command, the articles are no longer visible within the application. This unexpected behavior is causing a significant disruption to the user experience and needs immediate attention.

Steps to Reproduce:

Update the application to the latest version. (2.0.0-beta.23)
Execute the command 'php artisan migrate --force'.
Access the articles section in the application.
Expected Result: https://devopsfield.com/articles
The articles should be displayed and accessible as usual after the update and migration.

Actual Result:
The articles are not visible, and attempts to access them result in an error or an empty display.

Environment Details:

Application Version: (2.0.0-beta.23)
PHP Version: 8.2
Database:
Operating System:
Attached Screenshot:
[Attach a screenshot showing the issue/error encountered]

Additional Information:
Include any other relevant information that might help in resolving the issue, such as recent changes made to the codebase or any error messages received during the migration process.

I appreciate your prompt attention to this matter as it is affecting the functionality of our application. If further information is required or if there's a need for clarification, please do not hesitate to contact me.

Thank you for your assistance in resolving this issue.

Best regards,

Darwish
[email protected]

Bug Unresolved For: Simple Forum - Responsive Bulletin Board 0 Votes 3 Replies 444 Views
Reported by Darwish Ahmad Herati 10 months ago

0

Replied by Mian Saleem 9 months ago

Hello,

Please edit database/migrations/2023_12_11_060441_create_article_article_category_table.php and then comment/remove the line number 16 - 18

Schema::table('articles', function (Blueprint $table) {
    $table->foreignIdFor(ArticleCategory::class)->nullable()->constrained();
});

Then try to run the migration again.

Thank you

0

Replied by Darwish Ahmad Herati 9 months ago

Thank you for your reply

0

Replied by Mian Saleem 9 months ago

Darwish Ahmad Herati Please ask question next time as bugs are strictly for the issue those can reproduce on live demos. Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.