Question: Getting Error When Enabling The Shop Module

Getting Error When Enabling The Shop Module

Hello, I tried to enable the shop module but I'm getting an error message. PFA for error message

JK

Junaid Khan

Asked

Hello,

I tried to enable the shop module but I’m getting an error message.

PFA for error message

  • MS

    Mian Saleem

    Answered

    Hello,

    There is no option by settings, but you can edit modules/Shop/Resources/views/components/sections/header.blade.php as you need.

    For item details, I will fix in the next update. For now you can edit modules/Shop/Resources/views/item-details.blade.php and find the line 133 {{ __($item->details) }} and replace with

    <div class="prose dark:prose-invert text-gray-700 dark:text-gray-300 max-w-full">
          {{ str()->of($item->details)->markdown()->toHtmlString() }}
    </div>
    

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    Getting error messages in POS I have attached the error video.

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    One more error message in Add sale I have attached the error video.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check your php error logs and let me know the error details so that I can suggest.

    You can check Laravel logs in storage/logs/ folder too.

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello,

    I have attached the log file

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    I hope you are doing well. I haven’t heard from you past 4days since the error persist kindly get back to me ASAP!

    Regards, Junaid Khan

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry, I forgot. Looks like your database is not up to date. Can you please run php artisan migrate --force command and let me know the output.

    Can you please let me know if it’s new install or you have updated the previous version?

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    We updated the previous version. And I run the command but still the same error. I have attached the error snap for your reference.

  • MS

    Mian Saleem

    Answered

    Hello,

    The command didn’t run. There should be output even if no migration to run. Please update your php config and set memory limit to 128M for CLI. You can check with your server admin.

    For now, you can try php -d memory_limit=128M artisan migrate --force

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    I run the command but still the same error. I have attached the error snap for your reference.

  • Login to Reply