tripletens tripletens
1

other Pages does not load only / that loads

Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the requ...
tripletens tripletens
9

Tried hosting on cpanel and then got this error

[01-Apr-2020 15:02:49 UTC] PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/aigbohayche/hayche-dashboard/vendor/zendframework/zend-d...
Ziroy Ziroy
4

How to safely update Users from api

I've been wondering what might be the best practice way to update users from the frontend. I have currently set up a react frontend and wanted to allow a user to update his...
shoaibzartash shoaibzartash
9

undefined variable in foreach loop in laravel blade template

any kind of help regarding post will be appreciated thanks error shown ErrorException (E_ERROR) Undefined variable: qualification (View: C:\xampp\htdocs\testproj\...
Laravel
9
148
TheOn3 TheOn3
0

How to disable register/login of Laravel and take advantage of API?

Hello there, I am trying to get rid of the registration and login of Laravel and instead use an API. So just for the first time a user logs in, he/she gets registere...
kdotsmith kdotsmith
32

Laravel: Undefined variable: posts (View: (frustrating)

So i have a problem that has been bugging me for a few days now. I want to display my posts on my homepage that is already displaying on my other pages. I think i have foun...
Laravel
32
222
deladels deladels
2

Middleware for roles not working as supposed to.

SO I am trying to implement some ACL in a project I am working on through middlewares but the middlewares don't seem to do the checks. Admin Middleware:...
commish commish
0

register.blade.php and login.blade.php vue styles not applying

I cannot FOR THE LIFE OF ME get the auth vue styles to apply to the register page or the home page once logged in. I'm on Windows 10 and npm works for complete garbage. Yes...
shoaibzartash shoaibzartash
0

route not define in view blade template

hey i wish you all will be fine kindly help me out once again there is an error shown again n again on the screen error shown below: Route [correction.create] not...
brunitosessa brunitosessa
2

Resource API data

Hi, I'm trying to send data to an App using Api resources. I have "Bar resource", that has to include the distance (using latitude and longitude) from an User to...
masaro masaro
0

Forward a POST request to a named route

Hello there, i was trying to make a generic AJAX library to deal with submission of different type of forms. My idea was to have an /ajax endpoint on the server that...
noblemfd noblemfd
2

ERROR: Call to a member function fullName() on null

In my Laravel-5.8 project, I am trying to access the show view blade Controller public function show($id) { if (! Gate::allows('employee_show')) {...

Is it possible to handle Artisan command abort?

Hello. I have some long-live artisan commands and I need to handle when they're aborting (by killing process or by pressing Ctrl + C). So is it possible to do...
mykelcodex mykelcodex
9

Response returning <pre>

Hi guys, I am using this http client called Zttp but i keep getting <pre> as response but when i dd($response->json())...
bionary bionary
2

Authorizing / Checking Several Parent Models

I'm using Laravel 7.0 I've set up a bunch of tables with their associated foreign indices and the proper model relationships (usually...
nafeeur10 nafeeur10
1

How to upload json file and Extract in Laravel 7

Hello, I want to upload a json file and Extract it in Controller and keep the data in Database. What will be the approach? File Upload Controller:...
xtremer360 xtremer360
4

Laravel 7 Blade Component Strategy

I'm trying to understand what I'm doing wrong. I"m trying to create some blade components using the new Laravel 7 way of blade components and I'm not passing in the ri...
brentxscholl brentxscholl
3

Splitting a live database table into 2

We have a live Laravel project with live data. We are wanting to optimize our database because we are beginning to add new features. Some of our tables are beginning to get...
dembilesmana dembilesmana
8

Failed to install composer and laravel (macports)

Previously I used the hombrew package manager, everything was okay. I reinstalled my iMac, and now I use the Macports package manager. first I installed the composer...
rndmendes rndmendes
1

IMAP Email

Hi all, I've been developing an app with laravel and now I have a challenge which I don't know how to solve. Basically I have a general email account ([email protected]...
kostya kostya
1

How can I get a full tokens list in Sanctum?

I can get a token, only when I create it with $user->createToken('name')->plainTextToken. And how can I get a full tokens list from a user, something li...
leostereo leostereo
1

redirect exceptions and errors to file

Hi guys , im working on a telegram app. I already stablished comunication between my app and my laravel backend. Problem is that I have a very limited output on telegram sc...
untymage untymage
2

Sorting an associative array by a specific key in laravel ?

How do i sort this array by weight with laravel helpers ? $array = array( array('name' => 'Bob', 'weight' => 2...
untymage untymage
1

creating helper function Or add it to macros ?

I wanna create some helper functions related to str things, Is it better to put in Str macro or just leave it in helpers functions? How much it cost if i put it in macros ?...
MCLTano MCLTano
2

Two or more VerificationController for email

Hi, anyone know how send email verify depends on the user, i have three type of user, student, teacher, and user->like visitor, of course i've add two guards and provid...
naveen_tsnl naveen_tsnl
1

500 internal server error in Laravel 7

The project is working in local very well, But in the digitalocean's instance, it is not working. While reading error log it is showing like Declaration of Carbon\Tr...
nhayder nhayder
15

Can't Connect to BD after upgrading MAMP server from 4 to 5

i'm using MAMP 4.* on a macbook pro while building laravel 5.8 app, i have updated MAMP servier from 4 to 5 since then my laravel app couldn't connect to sql DB Correctly....
Laravel
15
162
aGandrass aGandrass
2

SendGrid API - Get X-Message-ID after sending mail

Hi, I am trying to get the x-message-id out of the Sendgrid api response after successfully sending an email. That's the Sendgrid api code: $email ->set...
Tlopasha Tlopasha
4

translation from json using __()

Hi, is it no possiple to translate child label in josn file using __() ? for example: // en.json { "global": {...
imranalwi imranalwi
3

help the solution friends

help the solution friends I am having trouble laravel my program error with the following information Maximum execution time of 60 seconds exceeded {"userId&quo...
johnhenry2525 johnhenry2525
5

. Env file I changed DB name but not reflected

. Env file I changed DB name but not reflected, I restart several time server, but not working, I am using larvae 5.4version...
Laravel
5
1227
dostogir dostogir
2

how to create Follow Unfollow System laravel 6

give me any resource.i found some resource but not work....
IvanRadojevic IvanRadojevic
1

function pluck doesn´t work?

-Call to a member function pluck() on array- $orders = $orders->pluck('created_at')->all();...
chrisgrim chrisgrim
8

Best (fastest) way to load collections to blade?

Hi, I just wanted to check to see if I was returning my colllections to my blade files correctly. Right now I am doing public function index(Event $event)...
Create a New Discussion Button