Skip to content
This repository was archived by the owner on Dec 14, 2019. It is now read-only.
This repository was archived by the owner on Dec 14, 2019. It is now read-only.

Flare config is not loaded #66

@JBtje

Description

@JBtje

Laravel 6.0.3, just upgraded from 5.6
Tinx v2.4.0, using default tinx.php config file (in [project]/config folder)

If I run php artisan tinker and execute the command config( 'flare' ) it returns

>>> config( 'flare' )
=> [
     "key" => null,
     "reporting" => [
       "anonymize_ips" => true,
       "collect_git_information" => true,
       "report_queries" => true,
       "report_query_bindings" => true,
       "report_view_data" => true,
     ],
   ]

However, if I do the same in Tinx, I get:

>>> config( 'flare' )
=> null

Somehow, the configuration in vendors/facade/ignition/config/flare.php is not loaded in Tinx, while it loads in Tinker.

Due to this missing config, I get the error TypeError: Argument 2 passed to Facade/Ignition/QueryRecorder/Query::fromQueryExecutedEvent() must be of the type bool, null given, called in /vendor/facade/ignition/src/QueryRecorder/QueryRecorder.php on line 32 when running a query in Tinx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions