Recently I’m facing some issues when I deploy my code to live server. It returns me white screen error. When I tried to debug the issues using the below code, ini_set(‘display_errors’,true); …
Using MDBootstrap with Laravel?
For days I’ve been trying to use MDBootstrap with my Laravel project. I’m especially trying to create MDBootstrap Datatables. I’ve successfully installed MDB with npm and yarn but I’m getting a jquery …
How to print rows of CSV file with PHP?
Here’s the code that I’m using, but it doesn’t output exactly what I want. Here’s what it outputs currently: In other words, it’s almost as if it’s adding all my CSV data into a multidimensional array… What I want is to just output it as I see it like so: Answer How t…
gRPC extension not installed in the right PHP version in Ubuntu 18.04
I’m trying to install gRPC extension following the official guidance I’ve followed all the steps, but on these final steps, I get this (which I think will matter later) Installing shared extensions: /usr/lib/php/20190902/ Here, I checked that folder and found the grpc.so file. At this point, I exp…
SMS API issue with CURL
Hi guys Please someone to help me fix an issue with an sms API. Here is the entire code given by the sms API provider: I don’t know what is wrong and I don’t know how to fix the 415 issue. The API …
Mongo distinct query with sort not working
I’m running a query in mongo using php like this: $column =’address.roadname’; (new MongoDBClient())->db->mycollection->distinct($column,[],[‘$sort’=> [$column => 1]]); The query …
Trying to get property ‘cover_image’ of non-object (View: C:UsersBWBDocumentsLaravelasperablogsresourcesviewsblogsblogs.blade.php)
So I’m making a blog website and I’m implementing tags. I keep getting the error in the title and not sure what I’m supposed to do. I’ve looked through similar questions here but they look different from how i’ve done it. Im using pivot tables for the the tags. When I did it with…
Error: Object of class AppHttpResourcesProductAttributeResource could not be converted to int
I’m using method in my model to mutate a single response to my client When call product Laravel using this method name by default? Debugger show this area: C:xampphtdocs…/…vendorLaravelframeworksrcIlluminateDatabaseEloquentConcernsHasAttributes.php:521 How can I resolve this error? Answer in…
End of file error for phpseclib for any file get
I’m getting a NET_SFTP_STATUS_EOF: End of file error for any file downloaded from a particular SFTP Server using phpseclib. A similar question was asked here though I don’t think it has any resolution. Oddly though, all the files seem to be importing correctly and with the same file size, however,…
Why The Select Option Didn’t Showing Number?
i have some problems. Where my stock produk size is “100-199” The Select Option just showing this : If in my product have stock is 1-99 and 200-999 i didn’t get this error. The select option is fine and showing a number. In my case stok s and stok m the select option showing the number. This…