Closed KatiaSishost closed 1 year ago
Hi there, Have you configure your database credentials in .env file before running this command? php artisan krayin-crm:install
error 500 log in laravel null.. and in apache php error:
PD Not is problem of php version... i try with other server with CentOS with PHP 7.4 to 8.1.. and all same problem.
[Mon Sep 05 11:04:44.662586 2022] [php:error] [pid 11652:tid 1876] [client ::1:50259] PHP Fatal error: Uncaught Error: Call to a member function make() on null in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242\nStack trace:\n#0 D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(88): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\ErrorHandler\Error\FatalError))\n#1 D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError))\n#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()\n#3 {main}\n thrown in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242, referer: htt
SOLVED:
Upgrade PHP version to 8.40 in composer.json and run composer install again.
and it work perfectly.
UPDATE: all work perfectly with the solution, now i try to install the Zoom integration... and it give the same error when i enter in domain/admin/zoom
ERROR 500
Apache PHP Log: [Mon Sep 05 13:07:46.818622 2022] [php:error] [pid 11652:tid 1888] [client ::1:54852] PHP Fatal error: Uncaught Error: Call to a member function make() on null in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242\nStack trace:\n#0 D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(165): Illuminate\Foundation\Exceptions\Handler->report(Object(Error))\n#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Error))\n#2 {main}\n thrown in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242, referer: http://localhost/admin/dashboard
Hi there, I guess you skip some steps while integrating the zoom, Please verify all credentials and try it again,
Nope,
other example, when create lead product or other... work all..
but when u click in eye to show lead...
same error.
[Tue Sep 06 06:56:57.173491 2022] [php:error] [pid 11652:tid 1892] [client ::1:56605] PHP Fatal error: Uncaught Error: Call to a member function make() on null in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242\nStack trace:\n#0 D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(165): Illuminate\Foundation\Exceptions\Handler->report(Object(Error))\n#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Error))\n#2 {main}\n thrown in D:\WebServer8\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242, referer: http://localhost/admin/leads/1
Hi there, Can you please let me know the php and composer version on your system?
And is it possible to share the screen recording.?
Hi there, Can you please let me know the php and composer version on your system?
Hi bro! Yes.
PHP 8.0.11 (cli) (built: Sep 21 2021 18:26:06) ( ZTS Visual C++ 2019 x64 ) Copyright (c) The PHP Group Zend Engine v4.0.11, Copyright (c) Zend Technologies
Composer - Dependency Manager for PHP - version 2.2.7
@KatiaSishost Can you please raise a query over krayin forum? I will guide you over the forum
http://localhost:8000/admin/quotes/create http://localhost:8000/admin/leads/create http://localhost:8000/admin/leads/create?stage_id=1
When we click on the links above same error .
PHP Fatal error: Uncaught Error: Call to a member function make() on null in C:\xampp\htdocs\laravel-crm-master\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242 Stack trace:
thrown in C:\xampp\htdocs\laravel-crm-master\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242 [Tue Sep 20 20:42:19 2022] PHP Fatal error: Uncaught Error: Call to a member function make() on null in C:\xampp\htdocs\laravel-crm-master\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242 Stack trace:
thrown in C:\xampp\htdocs\laravel-crm-master\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242
try installing the CRM again as we released version 1.2.4 that is compatible with higher version of PHP. If you still face any issue then apply this PR changes https://github.com/krayin/laravel-crm/pull/1114/files and share the error.
kindly share the environment as well.
Hy. i also get some error. i try clone the project. update composer and try to install. and it got some error too
@fajar7xx share the error that you are facing.
Hi there, Please raise a ticket Here I need to check on your instance
@fajar7xx Hope your issue will be resolved, so closing this issue, And if still you are facing any issues then feel free to reopen it.
Same error here: PHP 8.1.13 (cli) (built: Nov 22 2022 14:42:07) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.1.13, Copyright (c) Zend Technologies with Zend OPcache v8.1.13, Copyright (c), by Zend Technologies Composer version 2.4.4 2022-10-27 14:39:29 Fedora 37
sudo php artisan krayin-crm:install
Great! your environment configuration file already exists.
INFO Application key set successfully.
Loading configs...
Configuration loaded..
Step: Migrating all tables into database...
Dropping all tables ...................................................................................... 10ms FAIL
PHP Fatal error: Uncaught Error: Call to a member function make() on null in /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:262
Stack trace:
#0 /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(191): Illuminate\Foundation\Exceptions\Handler->report()
#1 /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(259): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#3 {main}
thrown in /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php on line 262
PHP Fatal error: Uncaught Error: Call to a member function make() on null in /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:262
Stack trace:
#0 /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(191): Illuminate\Foundation\Exceptions\Handler->report()
#1 /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(235): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#2 /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(259): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#3 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#4 {main}
thrown in /var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php on line 262
Hi there, Please run the given command
php artisan vendor:publish --force --all
INFO Publishing assets.
Copying directory [vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views] to [resources/views/errors] DONE
Copying directory [vendor/laravel/framework/src/Illuminate/Notifications/resources/views] to [resources/views/vendor/notifications] DONE
Copying directory [vendor/laravel/framework/src/Illuminate/Pagination/resources/views] to [resources/views/vendor/pagination] DONE
Copying file [vendor/barryvdh/laravel-debugbar/config/debugbar.php] to [config/debugbar.php] .................. DONE
Copying file [vendor/barryvdh/laravel-dompdf/config/dompdf.php] to [config/dompdf.php] ........................ DONE
Copying file [vendor/fruitcake/laravel-cors/config/cors.php] to [config/cors.php] ............................. DONE
Copying file [vendor/konekt/concord/config/config.php] to [config/concord.php] ................................ DONE
Copying directory [vendor/laravel/sanctum/database/migrations] to [database/migrations] ....................... DONE
Copying file [vendor/laravel/sanctum/config/sanctum.php] to [config/sanctum.php] .............................. DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/export.model.stub] to [stubs/export.model.stub] ...... DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/export.plain.stub] to [stubs/export.plain.stub] ...... DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/export.query.stub] to [stubs/export.query.stub] ...... DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/export.query-model.stub] to [stubs/export.query-model.stub] DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/import.collection.stub] to [stubs/import.collection.stub] DONE
Copying file [vendor/maatwebsite/excel/src/Console/stubs/import.model.stub] to [stubs/import.model.stub] ...... DONE
Copying file [vendor/maatwebsite/excel/config/excel.php] to [config/excel.php] ................................ DONE
Copying file [vendor/prettus/l5-repository/src/resources/config/repository.php] to [config/repository.php] .... DONE
Copying file [vendor/spatie/laravel-ignition/config/ignition.php] to [config/ignition.php] .................... DONE
Copying file [vendor/spatie/laravel-ignition/config/flare.php] to [config/flare.php] .......................... DONE
Copying directory [packages/Webkul/Admin/publishable/assets] to [public/vendor/webkul/admin/assets] ........... DONE
Copying file [packages/Webkul/Core/src/Config/concord.php] to [config/concord.php] ............................ DONE
Copying file [packages/Webkul/Core/src/Config/cors.php] to [config/cors.php] .................................. DONE
Copying file [packages/Webkul/Core/src/Config/sanctum.php] to [config/sanctum.php] ............................ DONE
Copying directory [packages/Webkul/UI/publishable/assets] to [public/vendor/webkul/ui/assets] ................. DONE
Copying directory [packages/Webkul/WebForm/publishable/assets] to [public/vendor/webkul/web-form/assets] ...... DONE
Copying directory [vendor/laravel/framework/src/Illuminate/Mail/resources/views] to [resources/views/vendor/mail] DONE
Copying file [vendor/diglactic/laravel-breadcrumbs/config/breadcrumbs.php] to [config/breadcrumbs.php] ........ DONE
Copying directory [vendor/diglactic/laravel-breadcrumbs/resources/views] to [resources/views/vendor/breadcrumbs] DONE
Copying directory [vendor/laravel/sail/runtimes] to [docker] .................................................. DONE
Copying file [vendor/laravel/sail/bin/sail] to [sail] ......................................................... DONE
Copying file [vendor/laravel/tinker/config/tinker.php] to [config/tinker.php] ................................. DONE
And then? If I run php artisan krayin-crm:install again gives the same error
No need to run the install command again.
Hi, the error was a misconfiguration at Database credentials, now fixed and installed properly
Hi There,
Thanks for the update.
Also, if you like our support, you may give us the review here: https://www.trustpilot.com/review/krayincrm.com That would be grateful for us.
Thanks & Regards,
Krayin Team
Make sure you put db password and other wacky strings into double quotes.
I'm still facing the same issue.
Everything work fine I'm getting error when I'm trying to create a Lead and Quotes.
**PHP Fatal error: Uncaught Error: Call to a member function make() on null in laravel- crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:262.
laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)).
laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown().
**
problems relate Lead and Quote because you missing intl extension, check your php.ini to fix it.
while you develop project but you can see exactly the error, just receive a message like:
PHP Fatal error: Uncaught Error: Call to a member function make() on null in ..\vendor\laravel\fra mework\src\Illuminate\Foundation\Exceptions\Handler.php:262
simplely, you just overide report function in App\Exceptions\Handler.php:
public function report(\Throwable $throwable) { Log::error($throwable->getMessage()); throw $throwable; }
nope, it has nothing to do with it
Hello.
When i try to install
whit this: composer create-project krayin/laravel-crm
at the end when i run php artisan krayin-crm:install.
when i download the zip... run php artisan composer install and php artisan krayin-crm:install.. this install correctly... but when try to enter to http://localhost/admin/dashboard