This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have woodmart theme installed in my wordpress suddently in front page or home page css not loading. I got angry why its happeingin. | |
THen i tried to fix the problem and finaly found the problem. | |
THe problem is for Cache plugin installed in my wordpress site. | |
There is lot of cache plugin the popular plugin is - | |
1. w3 total cache | |
2. wp super chache | |
I installed w3 total cache and activated this. After activate suddently css not working for only frontpage. Then i have to deactivate this pluigin again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in G:\xampp\htdocs\printingrags\wp-content\plugins\revslider\includes\operations.class.php on line 2854 | |
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in G:\xampp\htdocs\printingrags\wp-content\plugins\revslider\includes\operations.class.php on line 2858 | |
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in G:\xampp\htdocs\printingrags\wp-content\plugins\revslider\includes\output.class.php on line 3708 | |
Above warning is for php version conflict check your previous php version and your localhost php version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if any you loaded any image just use public_path instead asset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan migrate:db -seed | |
In DuskServiceProvider.php line 43: | |
It is unsafe to run Dusk in production. | |
Maybe this error because you are missing your .env file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change your datatype for this column problem will be solved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Goto app\http\Middleware\RedirectIfAuthenticated.php | |
add this function | |
public function handle($request, Closure $next, $guard = null) | |
{ | |
if (Auth::guard($guard)->check()) { | |
return redirect('/admin/dashboard'); | |
} | |
return $next($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method-1: | |
$this->validate($request,[ | |
'product_image' => 'mimes:jpeg,jpg,png,gif|required|max:10000' | |
]); | |
if($request->hasFile('product_image')) | |
{ | |
$image_name = $request->file('product_image')->getClientOriginalName(); | |
$filename = pathinfo($image_name,PATHINFO_FILENAME); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Illuminate\Database\Eloquent\MassAssignmentException | |
Add [_token] to fillable property to allow mass assignment on [App\Model\Customer]. | |
Solution: | |
you need to fill the model | |
From: | |
namespace App\Model; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add this line in your select option and place the variable as yours. | |
if($property_state == $state_id){ echo 'selected="selected"';} |