question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Pro fields/columns/filters not loaded after update

See original GitHub issue

Bug report

What I did

Updated from Backpack 4.1 to Backpack 5, following the guide.

What I expected to happen

Backpack pro to be installed and the pro fields/filters/columns views to be loaded

What happened

Backpack pro is installed but the pro fields/filters/columns can not be founded (View [filters.select2_multiple] not found)

What I’ve already tried to fix it

Obviously I emptied all the caches + composer dump-autoload I verified the paths backpacks is looking for the views by checking the output of config('backpack.crud.view_namespaces.buttons'):

Psy Shell v0.11.2 (PHP 8.1.4 — cli) by Justin Hileman
>>> config('backpack.crud.view_namespaces.buttons')
=> [
     "crud::buttons",
     "backpack.pro::buttons",
   ]

Is it a bug in the latest version of Backpack?

After I run composer update backpack/crud the bug… is it still there? Yes

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

PHP 8.1.4 (cli) (built: Mar 18 2022 09:45:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.4, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
v8.83.9@ac6e16bb56510eda2e373c6365d5c92da3fd559d

### BACKPACK VERSION:
5.0.14@1e355c4c046a34423a1a3e3150120245a4bfd8e9

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pxpmcommented, Apr 28, 2022

@remipou hy there 👍 and thanks for the report. I think there is no issue here, probably you are overwritting the file where the filters are included: filters_navbar as you should be using getNamespacedViewWithFallbacks() and not getViewWithNamespace().

https://github.com/Laravel-Backpack/CRUD/blob/c4e67f3e5dec12db6463d507b1e8e61d495f01c8/src/resources/views/crud/inc/filters_navbar.blade.php#L13

I am closing this as I am quite sure there is no bug here. Please feel free to continue the discussion if needed.

Cheers

1reaction
remipoucommented, Apr 28, 2022

Yes i did!! How could I miss this. Thanks a lot @pxpm !!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug Pro – Pest Control – Termite Control – BugPro Pest and ...
Here at Bugpro we strive for customer satisfaction. Not all problems are the same. We embrace that and custom tailor treatment programs for...
Read more >
Bug PRO Florida: Home
Bug PRO Florida is Jacksonville's best pest control company. With 24-hour response and free estimates, your exterminator search ends here!
Read more >
LOST COL.:SQUARE BACKPACK NCL メンズ バッグ - Unyleya
Bug ] Pro fields/columns/filters not loaded after update · Issue. UNPACKING MY BACKPACK | recommendations + regrets after 4 months in Europe.
Read more >
Pest Control Services - BugPro Inc.
BugPro has been protecting homes and businesses with innovative and high-quality pest control services for more than 35 years. We have the solutions...
Read more >
When Treatments Don't Work | US EPA
Pesticide treatment to eliminate bed bugs may be unsuccessful if other ... after the eggs hatch, or the infestation will not be controlled)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found