Php which is mentioned?

|
juttacrobat414 2022-08-07 21:36:09
i have already to use this Use IlluminateSupportFacadesAuth;
juttacrobat414 2022-08-07 21:37:19
laravel_discuss-132576.jpg
check it
linux9921 2022-08-07 22:11:13
Why
web design 2022-08-07 22:12:15
laravel_discuss-132578.jpg

DesolatorMagno 2022-08-07 22:12:17
Because the code that run php8 might not run under php7.
linux9921 2022-08-07 22:13:29
I apologize. I meant, how specified to composer to install me vendor of php 7. thanks
web design 2022-08-07 22:13:29
laravel_discuss-132580.jpg
How to save it in database with timestamp field?
DesolatorMagno 2022-08-07 22:15:07
Under the compose configuration you have a side to specify version, beside that you can just do a composer install and it automatically would only get what’s is compatible with your installed PHP
linux9921 2022-08-07 22:15:13
just specify timestamps in your migrations
Omar Malas 2022-08-07 22:26:20
I have a problem
my laravel app function is working okay on local when testing using postman, when I upload to server it gives me InvalidArgumentException: Malformed UTF-8 characters, possibly incorrectly encoded
Omar Malas 2022-08-07 22:26:59
any ideas?
the response has no none utf8 characters and both databases has utf8 collation
Omar Malas 2022-08-07 22:27:10
please help
thorefinn 2022-08-07 22:31:05
Can you send the screenshot or url with which you are accessing it?
thorefinn 2022-08-07 22:31:34
It can be problem of non breakable space(&nbsp) also.
Omar Malas 2022-08-07 22:31:54
Screenshot of what exactly?
thorefinn 2022-08-07 22:32:33
Error
Omar Malas 2022-08-07 22:32:44
one sec
Omar Malas 2022-08-07 22:33:36
laravel_discuss-132595.jpg

thorefinn 2022-08-07 22:33:51
Or whatever you are accessing it with like url if there are get parameters
Or form html if it is a post method
Omar Malas 2022-08-07 22:34:11
laravel_discuss-132597.jpg
response should be something like this
Omar Malas 2022-08-07 22:34:39
it’s a get request and it only sends the bearer token
thorefinn 2022-08-07 22:35:48
Can you send the screenshot of the 55th line to 70th line of Response.php which is mentioned?
Omar Malas 2022-08-07 22:35:54
ok
thorefinn 2022-08-07 22:36:01
Send url also
Omar Malas 2022-08-07 22:36:27
http://www.shopping-spree.woodsowl.net/api/orders
thorefinn 2022-08-07 22:38:03
Hey have you used any values from session?
Omar Malas 2022-08-07 22:38:26
only the token to get the user
thorefinn 2022-08-07 22:38:31
laravel_discuss-132605.jpg

Omar Malas 2022-08-07 22:38:39
laravel_discuss-132606.jpg

Omar Malas 2022-08-07 22:38:50
yeah it’s the user id
thorefinn 2022-08-07 22:39:49
Ok
thorefinn 2022-08-07 22:40:58
Send the screenshot of OrderController.php function which is called
Omar Malas 2022-08-07 22:41:20
laravel_discuss-132610.jpg
that’s it
Omar Malas 2022-08-07 22:43:56
no ideas?
thorefinn 2022-08-07 22:44:49
Try this
return json_encode($order)
|