shahidkarimi

Owner at Earth

Hire Me

Experience

3,190

0 Best Reply Awards

  • Member Since 8 Months Ago
  • 29 Lessons Completed
  • 0 Favorites

16th June, 2018

shahidkarimi left a reply on Sending Data To A Component After Ajax Request • 3 months ago

I am having the same issue

28th April, 2018

shahidkarimi started a new conversation How To Remove Extra Fields While Returning Date • 4 months ago

Using api resources, I can't manage to return only created_at. Intead carbon converts it into an about.

    "date": "2018-04-28 21:05:17.000000",
    "timezone_type": 3,
    "timezone": "UTC"
  },

13th April, 2018

shahidkarimi left a reply on Is It Possible To Push User New Posts To Specific Users Only • 5 months ago

While broadcasting create a private channel and send to that user only.

12th April, 2018

shahidkarimi left a reply on Where Are You All From? • 5 months ago

Karachi, Pakistan

22nd March, 2018

shahidkarimi left a reply on Collection Reverse Method Not Reversing • 5 months ago

How you figured it out @rohitkhatri ??

23rd February, 2018

shahidkarimi left a reply on PHP 7.0 Laravel 5.5 Error: Parse Error: Syntax Error, Unexpected '?', Expecting Variable (T_VARIABLE) • 6 months ago

Yes phpinfo() also gives 7.0. Its a bug. It has been fixed when upgraded to php 7.1

shahidkarimi started a new conversation PHP 7.0 Laravel 5.5 Error: Parse Error: Syntax Error, Unexpected '?', Expecting Variable (T_VARIABLE) • 6 months ago

I have PHP 7.0 both with apache and CLI but having the follwoing error:

`Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE)'

This error is raising when sending email using gmail smtp

13th January, 2018

shahidkarimi left a reply on Sessions Are Not Saving : Bug In Laravel Core • 8 months ago

$currency is coming from form input field. $currency = Input::get('currency')

shahidkarimi left a reply on Sessions Are Not Saving : Bug In Laravel Core • 8 months ago

Once something saved in the session it should be persistent. Yes of course on refreshing it should be there.

shahidkarimi left a reply on Sessions Are Not Saving • 8 months ago

Not working, for sure its a bug. I face this in every project.

2nd January, 2018

shahidkarimi started a new conversation Sessions Are Not Saving • 8 months ago

session()->put('currency', $currency); session()->save();

If I immediately dd the session it shows the new value. But in another place, it shows the old value means not saving. I have been facing this issue with every Laravel project.

I tried with all session drivers, redis, array, file and databse. Anybody, please give a permanent solution of this issue.

shahidkarimi left a reply on Save(Input::all()) - Not Saving • 8 months ago

This session *** issue in laravel has been making the pain in the ass for the last five years.

shahidkarimi started a new conversation Calling Put On Session Getting Error. Please Help • 8 months ago

ERROR Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to a member function put() on null

WHEN CALLING $request->getSession()->put(['currency' => $currency]);

31st December, 2017

shahidkarimi started a new conversation How To Validate Form/API Input In Repository Pattern? • 8 months ago

I liked the repository pattern to hide business logic from the controller. However, I didn't find anything related to input validation. Yes, we can do that in the controller, but that may not be the appropriate way.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.