GithubHelp home page GithubHelp logo

Not working about bugphix-laravel HOT 5 CLOSED

bugphix avatar bugphix commented on June 11, 2024
Not working

from bugphix-laravel.

Comments (5)

jericizon avatar jericizon commented on June 11, 2024

hello, could you elaborate more about the error you encounter? i tried to install it on fresh laravel 7 and it seems working fine.

For installation just follow the steps: https://bugphix-docs.netlify.com/installation

from bugphix-laravel.

miladganjali avatar miladganjali commented on June 11, 2024

I follow the installation path on the page that you mentioned.
another thing that I forget to tell you about there is a difference between that page and the GitHub readme page. on that page, this part is missing

Application usage
edit: /app/Exceptions/Handler.php

public function report(Exception $exception)
{
    if (app()->bound('bugphix') && $this->shouldReport($exception)) {
        app('bugphix')->catchError($exception);
    }

    parent::report($exception);
}

and yes I tried both of them and github page works but with above bug.
and how should I elaborate more there is no error even on the server just the part that I mentioned above.

from bugphix-laravel.

OoHerbethoO avatar OoHerbethoO commented on June 11, 2024

I'm also having problems, and I discovered the following system error:
WhoopsRun::handleError("Trait method getEventUrl has not been applied, because there are collisions with other trait methods on BugphixBugphixLaravelTraitsBugphixProcess", ".../vendor/bugphix/bugphix-laravel/src/Traits/BugphixProcess.php")

from bugphix-laravel.

miladganjali avatar miladganjali commented on June 11, 2024

@OoHerbethoO
you can put this code on
the error is getting away but the result is just not working

edit: /app/Exceptions/Handler.php

public function report(Exception $exception)
{
    if (app()->bound('bugphix') && $this->shouldReport($exception)) {
        app('bugphix')->catchError($exception);
    }

    parent::report($exception);
}

from bugphix-laravel.

OoHerbethoO avatar OoHerbethoO commented on June 11, 2024

@OoHerbethoO
you can put this code on
the error is getting away but the result is just not working

edit: /app/Exceptions/Handler.php

public function report(Exception $exception)
{
    if (app()->bound('bugphix') && $this->shouldReport($exception)) {
        app('bugphix')->catchError($exception);
    }

    parent::report($exception);
}

Replaces "use BugphixSetter, BugphixHelpers;" for "use BugphixSetter;" in the files src/Traits/BugphixSetter.php and src/Bugphix.php

src/Traits/BugphixSetter.php on line 13:
use BugphixSetter, BugphixHelpers;
to
use BugphixSetter;

src/Bugphix.php on line 14:
use BugphixSetter, BugphixHelpers;
to
use BugphixSetter;

from bugphix-laravel.

Related Issues (4)

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.