skip to Main Content

Warning in ./libraries/plugin_interface.lib.php#551 count(): Parameter must be an array or an object that implements Countable – Phpmyadmin

Warning in ./libraries/plugin_interface.lib.php#551 count(): Parameter must be an array or an object that implements Countable Backtrace ./libraries/display_import.lib.php#371: PMA_pluginGetOptions( string 'Import', array, ) ./libraries/display_import.lib.php#456: PMA_getHtmlForImportOptionsFormat(array) ./libraries/display_import.lib.php#691: PMA_getHtmlForImport( string '5de53ad1bdb35', string 'database', string 'laxie_magento', string '', integer 209715200, array, NULL, NULL, string…

VIEW QUESTION

Get daily data for Laravel 5.4 – Phpmyadmin

I want to get daily data from my database. I try 2 code and both are not working for me. $sales=Sale::whereDate('created_at', '=', Carbon::today()); The error that I got: Class 'AppHttpControllersCarbon' not found and when I try $sales=Sale::whereDay('created_at', now()->day)->get(); The error…

VIEW QUESTION

How to get the type of the user in laravel? – Phpmyadmin

I want the code to check if the current user category is admin or superadmin, it will show the edit panel @if (Auth::user()->category=='admin'||Auth::user()->category=='superadmin') <td class="center"> <a href="{{ route('Order.edit', ['id'=>$order->id ]) }}" class="btn btn-warning btn-sm custom"> <i class="glyphicon glyphicon-edit"></i> EDIT</a> </td>…

VIEW QUESTION
Back To Top
Search