Questions tagged [laravel-9]
Laravel 9 is the former stable version of the open-source PHP web framework created by Taylor Otwell. It was released on February 8, 2022. Please use the [laravel] tag for general Laravel-related questions.
laravel-9
1,926
questions
1
vote
0
answers
31
views
How to Directly Set SMTP Credentials in Laravel Mailer Without Using Config Values?
I'm working on a Laravel project where I need to send emails with different SMTP credentials for each email. Instead of setting these credentials in the configuration files, I want to directly pass ...
0
votes
3
answers
76
views
Check if an UUID exists in Table A or Table B using Validation Rules (Laravel Validation)?
In my Laravel application, I would like to check wether the value of the field uuid is present in table courses or in table contingents using validation rules. The UUID must be present in one of the ...
0
votes
0
answers
51
views
Trying to get data from Odoo using PHP/Laravel-9 using XMLRPC need help and guidance
I am able to authenticate but when trying to get data its giving me error
enter image description here
This is the error I am getting
Is there anyone who can help me to resolve this issue quickly ...
0
votes
0
answers
51
views
Laravel login from main domain to a subdomain
I want to be able to log in from example.com to subdomain.example.com.
I have multiple databases connected to the main domain config/database.php:
'mysql' => [
'driver' => 'mysql',
'url' ...
0
votes
0
answers
17
views
base-content color not working on daisyui laravel project
**<a href="" className='text-center main border-2 border-base-100 w-4/5 m-auto p-2 rounded-xl border-opacity-80 bg-inherit transition duration-200 ease-in-out bg-gradient-to-r from-base-...
-2
votes
1
answer
36
views
I get "Call to a member function setTimezone() on string" error after updating Laravel, how can I solve it?
I have this echo in my blade...
$sale->order_time->setTimezone($venue->timezone)
...and all I get is a "Call to a member function setTimezone() on string" error. This code used to ...
1
vote
2
answers
126
views
Laravel Middleware error: Argument #1 ($content) must be of type ?string, Illuminate\Routing\Redirector given
I have this middleware in my project, that sometimes, gives me some problems on my live server, and I don't know why, but just sometimes, and not all the times that it is triggered. This is the error:
...
0
votes
0
answers
29
views
How to check if a MongoDB database exists using MongoDB driver Client in Laravel?
I am creating a mongodb database using MongoDB driver's Client in Laravel. This is my code;
use MongoDB\Client as MongoClient;
$databaseName = 'little_buds';
$collectionName = 'test';
$client ...
0
votes
0
answers
44
views
How to completely drop a mongodb databased in Laravel using MongoDB/Client?
I am creating a mongodb database using Mongo Client in Laravel. This is my code;
use MongoDB\Client as MongoClient;
$databaseName = 'little_buds';
$collectionName = 'test';
$client =...
0
votes
0
answers
16
views
In Ionic React, from web browser I can fetch data from api (Laravel), but from the android app it is showing error: 419 'csrf token mismatch'
I am doing login page on Ionic React. I'm using Laravel sanctum for authentication. When I run the Ionic App on chrome browser, I'm able to pass login data and get logged in and store token in ...
0
votes
1
answer
55
views
Dependency Conflict in Vue.js Project: vue-tel-input and vue Version (2.6.14) Compatibility
I'm encountering a dependency conflict in my Vue.js project when attempting to install the vue-tel-input package. I've done some research on the compatibility of these versions but I'm still facing ...
0
votes
0
answers
45
views
how to add cors origin in public folder laravel
Access to font at 'http://127.0.0.1:8000/webfont.woff' from origin 'http://localhost:8001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource....
0
votes
1
answer
46
views
Displaying Content Dynamically Based on <h2> Tags with @php command in Laravel 9: Local vs. Hostinger Hosting Issues
I have a Laravel 9 application that I'm hosting on a shared hosting with PHP 8.3.
I have a tinyMCE text editor in my admin panel that I want to show the content sent from it in two different ways in ...
-1
votes
0
answers
29
views
Laravel 9 Undefined property: Laravel\Passport\Console\KeysCommand::$components
I was updating the system from Laravel 6 to Laravel 9. When transferring everything to the test server, the server builds the application in Docker, but the deployment process in GitLab does not ...
-1
votes
1
answer
21
views
Deploy laravel 9 on ionos apache2 Ubuntu 22.04.4
your text
I'm trying to deploy a laravel site on ionos VPS. When i launch my site on the browser, i've got this error:
your text
My .htaccess:
# enable gzip compressing for the following mime-types
&...