Fix - The payload is invalid

drexreal

Member
Oct 29, 2020
84
31
18
31
How to fix, Decrypt? - Larvel Framework

decrypt('1')in /home/woinsite/public_html/core/app/Http/Controllers/SiteController.php (line 120)
  1. public function softwareDetails($slug, $id)
  2. {
  3. $pageTitle = "Software Details";
  4. $software = Software::where('status', 1)->whereHas('category', function ($q) {
  5. $q->where('status', 1);
  6. })->where('id', decrypt($id))->firstOrFail();

  7. $otherServices = Service::where('status', 1)->whereHas('category', function ($q) {
  8. $q->where('status', 1);
  9. })->where('user_id', $software->user_id)->with('user')->limit(4)->orderBy('id', 'DESC')->get();
 

Attachments

  • problema.png
    problema.png
    29.3 KB · Views: 3

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu