when I add my new code then getting error "This cache store does not support tagging" in laravel?

Neeraj Prajapati Source

I trying write code in blade.php in laravel but given error

enter image description here

my normal php code is :

<?php echo $uri_segment == "users" ? "active" : "";

        use App\Libraries\Commonlibrary;

$menu_list_view = Commonlibrary::sidebar_menu_list();
        echo $menu_list_view;
    ?>

I doing in blade.php like :

 {{ $uri_segment == "users" ? "active" : "" }}
    @php use App\Libraries\Commonlibrary;
        $menu_list_view = Commonlibrary::sidebar_menu_list();
    @endphp
{{ $menu_list_view }}
phplaravellaravel-blade

Answers

answered 6 months ago Alexey Mezenin #1

From the docs:

Cache tags are not supported when using the file or database cache drivers.

comments powered by Disqus