Bug Report: Error 500: Attempt To Read Property

Error 500: Attempt To Read Property

Hello, When i click in a item in the front page it shows an 500 error attached is the image of the error that appears

AV

ALEJANDRO VERGARA

Reported
Hello,

When i click in a item in the front page it shows an 500 error attached is the image of the error that appears
  • MS

    Mian Saleem

    Answered
    Hello,

    I am sorry for late reply.

    Can you please check the log file in the `storage/logs/` folder and let me know the error details.

    Thank you
  • AV

    ALEJANDRO VERGARA

    Answered
    attached you will see some of the files, letme know if you need more details
  • AV

    ALEJANDRO VERGARA

    Answered
    500: Attempt to read property "slug" on null (View: /home/vhsuma/public_html/modules/Shop/resources/pages/product.blade.php)
  • MS

    Mian Saleem

    Answered
    Hello,

    I need the full error message with stack trace. That page uses product, brand and category slug and all shouldn't produce error unless products itself. How did you add the products? I mean did you add from add product page or imported?
  • AV

    ALEJANDRO VERGARA

    Answered
    Hello !

    [2026-02-10 13:01:45] production.ERROR: Attempt to read property "slug" on null (View: /home/vhsuma/public_html/modules/Shop/resources/pages/product.blade.php) {"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Attempt to read property \"slug\" on null (View: /home/vhsuma/public_html/modules/Shop/resources/pages/product.blade.php) at /home/vhsuma/public_html/storage/framework/views/8cd49473a39a4e63a99dc3900e486266.php:42)
    [stacktrace]

    The products where added directly in the add product page.

    Regards
  • MS

    Mian Saleem

    Answered
    Hello,

    Still not helpful, please update to RC2 and if still have this issue, please ask question to get private reply option as I will need installation and server details to check this.

    Thank you
  • AV

    ALEJANDRO VERGARA

    Answered
    Hello Mian!

    Where can i get the RC2 files?
    its going to restart the whole system? (erase the current products and categories?)

    Regards
  • MS

    Mian Saleem

    Answered
    Hello,

    You can download the file again to get latest version. No, you can perform update and your data won't be changed.

    Thank you
  • Login to Reply