skip to Main Content

Laravel Custom Package Problem Call to undefined method

I am trying to create my custom package for laravel. There is my code, https://github.com/onurzdgn/cloudflare-image-api I have an problem when I using my project this package. The error is: Call to undefined method onurozdoganCloudflareImageApiFacadesCloudflareImageApi::upload() I thing I check everything, however…

VIEW QUESTION

column not found but column exists in laravel query

Below is my query in laravel project.In this query purchase_return_products.purchase amount actually exists but this show error '[2024-07-14 16:28:02] local.ERROR: Errors: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'purchase_return_products.purchase_amount' in 'field list' (Connection: mysql, SQL: select count(*) as aggregate from…

VIEW QUESTION

Laravel 11: BindingResolutionException: Target class [hash] does not exist during app bootstrap

I have just created a fresh Laravel project and installed Sentry for exception logging. Here is my bootstrap/app.php: <?php use IlluminateFoundationApplication; use IlluminateFoundationConfigurationExceptions; use IlluminateFoundationConfigurationMiddleware; use IlluminateSupportFacadesAuth; use SentryLaravelIntegration; use SentryStateScope; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( web: __DIR__ . '/../routes/web.php', commands:…

VIEW QUESTION
Back To Top
Search