Skip to content

Error on basset:cache when cache_map_comparison is true #183

Description

@jnoordsij

When I enable the cache_map_comparison flag and have some bassetBlock being internalized, I'm faced with the following exception:

Backpack\Basset\Console\Commands\BassetCache::shouldSkipCachedAsset(): Argument #2 ($attributes) must be of type array, false given, called in /app/vendor/backpack/basset/src/Console/Commands/BassetCache.php on line 120

The following call seems to be the root cause of this:

As $args[2] is set to false, only to be almost immediately after passed into shouldSkipCachedAsset which requires an array argument, this line is likely incorrect.

I've not yet been able to entirely decipher what is the intent of this line, so maybe you could help me out in deciding what to do here 😇

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions