YajraDatatables

Yajra datatable doesnt accept more than 4 columns and return error.it must be 4 columns fixed.not less not more. the error => DataTables...
10

Using the same URI for two different methods based on middleware

Here is what I am trying to accomplish: I have two roles - manager and employee I have a route /jobs When a manager...
02

Picking Random Winner with Scheduler

Hi again, Im running into a 'problem' and i can't wrap my head around it. Mostly because i'm unfamiliar with the how. I'm creating a...
00

Unable to write in the "uploads/user_post_media" directory

this code is working fine in my localhost (LINUX) but an error in the server (UBUNTU) $file_name = md5(uniqid() . time()) . '...
01

migration problem in digitalocean

i develop my app in windows and now deploy on ubuntu on migration, i got the error In Connection.php line 664: could not...
03

"Parse error: syntax error, unexpected '?', expecting variable

How to solve this error page works fine in localhost on my windows pc. but an error on host ubuntu "ErrorException"...
05

Saving different Files separately to database

How do I upload two separate image files to different file locations and save to database? Everything works fine but only the business_logo is uplo...
07

$error->has() for ANY errors in input array

I want to check, on my view, if there are any errors. Normally: $errors->has(name-of-field) Or with an array: $errors-...
12

Phone Number " UNIQUE " for validation

I have a question. In my application I have a form for registration in data store in users table. Each registration may have a unique phone number....
02

Why basic validation is not working in my API?

I have this basic api route, I test it using postman Route::post('contacts', '[email protected]'); The...
01

5.2 - Password Reset For Multiple Tables

<?php return [ /* |-------------------------------------------------------------------------- | Authe...
10

Eager Loading Pivot Table relashionships

Hello, I have one nasty issue and I've searched for solutions, but couldn't find one that works. The issue is that I have a pivot table mode...
04

home page is working on local host but shows error in the server

error (2/2) QueryException SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references...
05

Integrate Tinymce with image upload

Hi, do you know how to integrate Tinymce with image upload with Laravel? With the code below the image link appears and when is clicked the user ca...
00

Illegal string offset 'id' error

The "dd($result);" shows: "{"proforma":{"id":000,"status":"draft","archived"...
02

Post::with() with optional values?

Hi, i have build a post system. User and Clubs can post "posts". I save the type in "relation" (user or club) and "...
04

Integrating PHP-CPP into Laravel

Good Morning everyone, I've been trying to use the PHP-CPP framework inside of Laravel. For those who don't know, PHP-CPP is a framework tha...
00

Convert a string to a integer

The input date value is displayed as follows "2014-10-20" I want to be numeric so that the converting fun...
02

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cities.schools_list_id' in 'where clause'

How to display a city? City.php public function schools () { return $this->hasMany(SchoolsList::class); }...
04

How to fix this error contains 9 abstract methods and .... ?

I'm new to Laravel 5.5 and JWT. I followed a tutorial but when I try to login using postman I encountered this error. Symfony\Compo...
00