Giter Site home page Giter Site logo

Comments (5)

arukompas avatar arukompas commented on May 9, 2024

hey @Tiagospem , can you please try clearing the view cache? And updating to the latest Log Viewer. The class definitely exists.

from log-viewer.

Tiagospem avatar Tiagospem commented on May 9, 2024

I don't know what happens anymore. I install the package via composer require, I run it the first time, it works perfectly, after a while, error 500 appears, always something is wrong, this only happens with a project in production.

The only thing different is that I use the redis cache, but I have 7 other similar projects and that doesn't happen.

CleanShot.2022-10-19.at.16.36.32.mp4
CleanShot.2022-10-19.at.16.38.12.mp4

production.ERROR: Undefined variable $showLevelsDropdown (View: /var/www/vhosts/topoleiloes.com.br/httpdocs/vendor/opcodesio/log-viewer/resources/views/livewire/log-list.blade.php) (View: /var/www/vhosts/topoleiloes.com.br/httpdocs/vendor/opcodesio/log-viewer/resources/views/livewire/log-list.blade.php) {"userId":20000,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $showLevelsDropdown (View: /var/www/vhosts/topoleiloes.com.br/httpdocs/vendor/opcodesio/log-viewer/resources/views/livewire/log-list.blade.php) (View: /var/www/vhosts/topoleiloes.com.br/httpdocs/vendor/opcodesio/log-viewer/resources/views/livewire/log-list.blade.php) at /var/www/vhosts/topoleiloes.com.br/httpdocs/storage/framework/views/1b6e4ae27ba0e61a057f2be9e60b9f03d350bd65.php:10)

from log-viewer.

arukompas avatar arukompas commented on May 9, 2024

Hey @Tiagospem

The first video shows installation of a different package :)
You can install this package with the command composer require opcodesio/log-viewer

Also the error Undefined variable $showLevelsDropdown is now different from the original one. I've released an update, v1.6.3 which hopefully fixes this error for you :) Let me know!

from log-viewer.

Tiagospem avatar Tiagospem commented on May 9, 2024

sorry, I confused the package installation :/, but the problem occurred with the correct package. Updated to the latest version, let's see, thanks

from log-viewer.

arukompas avatar arukompas commented on May 9, 2024

No problem @Tiagospem

Closing as it's potentially fixed. Let me know if there's still an issue with v1.6.3 version.

from log-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.