Anyone knows the cause of this error?

Omar Malas 2022-08-07 22:54:53
are we sure it’s not database issue?
thorefinn 2022-08-07 22:56:11
Yeah it might be because I think there is some value in orders table which is clashing with json conversion
thorefinn 2022-08-07 22:57:08
Check your orders table
If there is any unnecessary space between 2 words in any value then remove it.
Omar Malas 2022-08-07 22:57:20
ok one sec
thorefinn 2022-08-07 22:58:28
Also check the error.log file on your server
thorefinn 2022-08-07 22:58:44
You might get the better idea
Omar Malas 2022-08-07 22:59:00
thorefinn 2022-08-07 23:00:52
Message me in personal if you still can’t find the solution.
Omar Malas 2022-08-07 23:03:15
where to find error.log?
thorefinn 2022-08-07 23:04:40
It can be in the public_html folder but if it is not created then you might not have turned on error logging in your server go to the Google for how to turn that on for your hosting server
arab6ode 2022-08-08 00:22:53
I’m looking for remotely job in Laravel php full stack developer my experience 5 years

I’m Arabic native
English excellent

TheRajChotaliya 2022-08-08 00:32:51
Simple search on youtube about multi layer crud and you get numbers of tutorials
purplex227 2022-08-08 00:35:58
This means is unable to find a property with that Id on the database
TheRajChotaliya 2022-08-08 00:37:08
His issue solved.
johson777 2022-08-08 05:53:56
Thanks i have checked but i hace find only for crud normal without category and subcategories. Can you send me any video or tuts?
rlawjddn00 2022-08-08 06:19:49
Laravel ORM
rlawjddn00 2022-08-08 06:20:24
If you know relational database well, It will be easy to understand
johson777 2022-08-08 06:21:01
No I’m noob i have started laravel few days before im learning laravel in this time
rlawjddn00 2022-08-08 06:23:31
If you can’t read the relationship between tables, it will be difficult to use even if you read laravel docs
otabekzairov 2022-08-08 08:41:04
anyone knows the cause of this error?
Anand Tujare 2022-08-08 08:42:32
Please scroll to the top where it’s #0 #1…. And share screenshot
otabekzairov 2022-08-08 08:43:36

Anand Tujare 2022-08-08 08:45:41
Ok it’s an oracle connectivity issue from the Yajra plugin….
otabekzairov 2022-08-08 08:46:16
it means that something went wrong on config/oracle.php?
Anand Tujare 2022-08-08 08:46:45
Can be. Check the credentials as well check if your oracle is activated and is running
otabekzairov 2022-08-08 09:27:39
thanks man
Biskonovich 2022-08-08 09:28:38
$mapped_product = DB::table(‘mapping_product’);
$count_product = DB::table(‘mapping_product’)->get();
Biskonovich 2022-08-08 09:29:25
could anyone tell me the difference between the above two codes? like which one to write and when?
Biskonovich 2022-08-08 09:31:40
hola? anyone there?
Anand Tujare 2022-08-08 09:32:32
Neither… U should try to use Eloquent model for these…

Suppose u have a model named MappingProduct which is for this table…

U can directly write..

$mapped_products = MappingProduct::all(); //to get all the rows


$count_product = MappingProduct::count()

johson777 2022-08-08 09:33:54
Hello, can someone help me? I try to make the first user who registers become super admin and the others are simple users but I have a problem I think I forgot to add something sz does not work. Someone can help me ? I’m a noob trying to learn laravel by myself
Biskonovich 2022-08-08 09:34:56
I understand your concern.. but could you please tell me the difference.. because I’m told to understand the code and not change it.
Anand Tujare 2022-08-08 09:54:00
$mapped_product = DB::table(‘mapping_product’);

– Returns a Query Builder object with no results … Just the object of query builder…

$count_product = DB::table(‘mapping_product’)->get();

– Returns a collection of all the rows in the table…

Biskonovich 2022-08-08 09:56:00
How can we use that object?
I know the use of rows .. but don’t exactly know about object
Anand Tujare 2022-08-08 09:56:53
U will need to add more functions to it to get the required results …