Skip to content

Laravel 9 with argument 2 must be of type ?callable, string given

I’m following a tutorial. In the controller I’m using with to send a success message. I’m getting an error message once the form is submitted and I’m redirected to the index page the code there looks like this. This is the error message: with(): Argument #2 ($callback) must be of type …

How to remove unused tags on my WordPress site?

I have the following site: https://www.daenischer-kerzenshop.de/ If i look at the source code via the browser, I can detect empty tags. Does anyone happen to know why they are generated and how I can remove them? I have searched all possible files and removed all code that could possibly cause this.Unfortunat…

Add array data by name php

I’m new to arrays. I’d like to know if you can add data to the array by name. This would be an example of what I want to achieve example: result what I want is to add the data “ibanez” to the array “names” but nevertheless create a new one. I need it to stay this way. Is th…