Factory Circular Dependency Problem
Laracasts
by
5d ago
I have three model factories, and each of them requires one another as follows: Structure: Supplier - id - warehouse_id Warehouse - id - Employee_id Employee - id - supplier_id Factories: SupplierFactory return [ 'warehouse_id' => Warehous ..read more
Visit website
Base table mydbname.session not found.
Laracasts
by
5d ago
After I deployed my project to shared hosting, I ran migration and everything worked perfectly - all my table were migrated to the database using my dB credentials in my .env file. I set ph version to 8.2. after that I loaded my website: landing page ..read more
Visit website
Wire:confirm not working on checkbox
Laracasts
by
5d ago
Hello, I would have a confirm dialog when checking a checkbox, I tried this but the dialog does not appear ..read more
Visit website
I broke my Laravel app root and can't figure out how or why
Laracasts
by
5d ago
I'm working on an app using Laragon. I had everything working and progressing well. I ran into an issue with PHP version mismatches between Composer and my app that turned out to be a difference between the user and system $PATH environmental variabl ..read more
Visit website
Problem binding a service to the container
Laracasts
by
5d ago
Ok, I've got what should be a very simple use case but this is the first time I'm actually using the Service Container for my own thing and am having some problems. It is certainly a skill issue, but I've read the Service Container docs several time ..read more
Visit website
ElasticCloud - Missing authentication credentials?
Laracasts
by
5d ago
We've had no problem with using ElasticSearch in a local environment hosted ourselves. However, we're switching to using ElasticCloud in our production environment from it being hosted on-prem. We setup our .env with the following: ELASTIC_CONNECTION ..read more
Visit website
How do I seed many-to-many polymorphic relationships?
Laracasts
by
5d ago
Let's just use the examples in the documentation. posts id - integer name - string videos id - integer name - string tags id - integer name - string taggables tag_id - integer taggable_id - integer taggable_typ ..read more
Visit website
I have this code that makes a request to fetch an array from a laravel backend, on my local server, it runs smoothly but after i hosted it, i keep getting POST error "http://127.0.0.1:8000/retrieve net::ERR_BLOCKED_BY_CLIENT"
Laracasts
by
5d ago
$.post("https://vgn.srgasaswsa.com", { // Retrieve CSRF token from the meta tag _token: document.querySelector( '#registrationForm [name="_token"]' ).value, // Send the value of the selected item as a parameter ..read more
Visit website
@vuepic/vue-datepicker : in trouble with the formatting options
Laracasts
by
5d ago
Hello, I'm trying to format the binding model and the preview for this component, but it doesn't work as expected ..read more
Visit website
Validator only redirecting with Errors and Old sometimes
Laracasts
by
2w ago
I have a form that gets submitted via POST to a request()->validate in a controller. However, if I submit the form with missing information, the "errors" and more frustratingly the old form values are only returned roughly 1 out of every ..read more
Visit website

Follow Laracasts on FeedSpot

Continue with Google
Continue with Apple
OR