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

Adding Family Custom fields #5161

Closed
ChurchCRMBugReport opened this issue Feb 18, 2020 · 1 comment
Closed

Adding Family Custom fields #5161

ChurchCRMBugReport opened this issue Feb 18, 2020 · 1 comment

Comments

@ChurchCRMBugReport
Copy link

ChurchCRMBugReport commented Feb 18, 2020

Adding custom family fields appears to conflict with a lookup of members from the left hand column

ERROR
Error making API Call to: /api/search/mat
Error text: Call to undefined method: getCustomField.
Stack Trace: 
[
  "#0 /home1/bethania/REDACTED/ChurchCRM/Search/FamilySearchResultProvider.php(68): ChurchCRM\\Base\\FamilyCustomMaster->__call('getCustomField', Array)",
  "#1 /home1/bethania/REDACTED/ChurchCRM/Search/FamilySearchResultProvider.php(26): ChurchCRM\\Search\\FamilySearchResultProvider->getFamilySearchResultsByCustomProperties('mat')",
  "#2 /home1/bethania/REDACTED/api/routes/search.php(39): ChurchCRM\\Search\\FamilySearchResultProvider->getSearchResults('mat')",
  "#3 [internal function]: Closure->{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
  "#4 /home1/bethania/REDACTED/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
  "#5 /home1/bethania/REDACTED/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Object(Closure), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
  "#6 /home1/bethania/REDACTED/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#7 /home1/bethania/REDACTED/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#8 /home1/bethania/REDACTED/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#9 /home1/bethania/REDACTED/ChurchCRM/Slim/Middleware/VersionMiddleware.php(13): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#10 [internal function]: ChurchCRM\\Slim\\Middleware\\VersionMiddleware->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
  "#11 /home1/bethania/REDACTED/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\\Slim\\Middleware\\VersionMiddleware), Array)",
  "#12 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
  "#13 /home1/bethania/REDACTED/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
  "#14 /home1/bethania/REDACTED/ChurchCRM/Slim/Middleware/AuthMiddleware.php(42): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#15 [internal function]: ChurchCRM\\Slim\\Middleware\\AuthMiddleware->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Closure))",
  "#16 /home1/bethania/REDACTED/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\\Slim\\Middleware\\AuthMiddleware), Array)",
  "#17 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Closure))",
  "#18 /home1/bethania/REDACTED/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Closure))",
  "#19 /home1/bethania/REDACTED/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#20 /home1/bethania/REDACTED/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#21 /home1/bethania/REDACTED/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
  "#22 /home1/bethania/REDACTED/api/index.php(75): Slim\\App->run()",
  "#23 {main}"
]
Collected Value Title Data
Page Name /FamilyCustomFieldsEditor.php
Screen Size 1024x1821
Window Size 927x1739
Page Size 927x1739
Platform Information Linux aerostar.websitewelcome.com 4.14.94-164.ELK.el6.x86_64 #1 SMP Wed Jan 16 16:56:35 CST 2019 x86_64
PHP Version 7.1.24
SQL Version 5.6.41-84.1
ChurchCRM Version 3.5.2
Reporting Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}
@crossan007 crossan007 added this to the User Support milestone Feb 18, 2020
@crossan007
Copy link
Contributor

This is fixed in 4.0.0 by 8aefae6

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

2 participants