Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to delete user #4172

Closed
ChurchCRMBugReport opened this issue Mar 28, 2018 · 4 comments
Closed

Unable to delete user #4172

ChurchCRMBugReport opened this issue Mar 28, 2018 · 4 comments
Milestone

Comments

@ChurchCRMBugReport
Copy link

I am trying to delete a user and it comes up with the following error:

ERROR
Error making API Call to: /api/users/285

Error text: Slim Application Error

Collected Value Title Data
Page Name /UserList.php
Screen Size 1080x1920
Window Size 1014x1920
Page Size 1014x1920
Platform Information Linux syd-s26e.hosting-service.net.au 2.6.32-773.26.1.lve1.4.35.el6.x86_64 #1 SMP Tue Sep 26 06:34:34 EDT 2017 x86_64
PHP Version 7.0.27
SQL Version 5.6.36-cll-lve
ChurchCRM Version 3.0.0
Reporting Browser Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}
Apache Modules mod_rewrite,mod_mime,mod_headers,mod_expires,mod_auth_basic
@quarky1983
Copy link

image

@DawoudIO
Copy link
Contributor

can you please review the logs in the /logs/*-php.log and let us know if you see any errors

@quarky1983
Copy link

Yes there is..

[28-Mar-2018 08:07:21 Australia/Perth] Slim Application Error:
Type: Error
Message: Class 'PHPMailer\PHPMailer\PHPMailer' not found
File: /home/gkiperth/churchcrm/ChurchCRM/Emails/BaseEmail.php
Line: 38
Trace: #0 /home/gkiperth/churchcrm/ChurchCRM/Emails/BaseEmail.php(21): ChurchCRM\Emails\BaseEmail->setConnection()
#1 /home/gkiperth/churchcrm/ChurchCRM/Emails/users/BaseUserEmail.php(19): ChurchCRM\Emails\BaseEmail->__construct(Array)
#2 /home/gkiperth/churchcrm/api/routes/users.php(55): ChurchCRM\Emails\BaseUserEmail->__construct(Object(ChurchCRM\User))
#3 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/Route.php(335): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#6 /home/gkiperth/churchcrm/ChurchCRM/Slim/Middleware/Role/BaseAuthRoleMiddleware.php(27): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 [internal function]: ChurchCRM\Slim\Middleware\Role\BaseAuthRoleMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#8 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\Slim\Middleware\Role\AdminRoleAuthMiddleware), Array)
#9 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#10 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#11 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/Route.php(313): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/App.php(495): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 /home/gkiperth/churchcrm/ChurchCRM/Slim/Middleware/VersionMiddleware.php(13): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#15 [internal function]: ChurchCRM\Slim\Middleware\VersionMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#16 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\Slim\Middleware\VersionMiddleware), Array)
#17 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#18 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#19 /home/gkiperth/churchcrm/ChurchCRM/Slim/Middleware/AuthMiddleware.php(42): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 [internal function]: ChurchCRM\Slim\Middleware\AuthMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#21 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\Slim\Middleware\AuthMiddleware), Array)
#22 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#23 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#24 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#25 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/App.php(388): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#26 /home/gkiperth/churchcrm/vendor/slim/slim/Slim/App.php(296): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#27 /home/gkiperth/churchcrm/api/index.php(72): Slim\App->run()
#28 {main}
View in rendered output by enabling the "displayErrorDetails" setting.

@crossan007
Copy link
Contributor

Looks like the same bug as #4160 - missing dependency

@crossan007 crossan007 added this to the 3.0.1 milestone Mar 30, 2018
@ghost ghost removed the bug label Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants