Giter Club home page Giter Club logo

Comments (19)

romdricks avatar romdricks commented on June 12, 2024 1

@DAcodedBEAT @respencer I was doing some testing and I think i found the issue. I realized setting the bHidePersonAddress to false in PeopleSetup would cause the issue mentioned.

from crm.

respencer avatar respencer commented on June 12, 2024 1

I originally meant to say "unable" (now edited).

from crm.

DawoudIO avatar DawoudIO commented on June 12, 2024

Do you have errors in the logs

from crm.

romdricks avatar romdricks commented on June 12, 2024

Here is the screenshot:
Screenshot 2024-05-14 125844

from crm.

romdricks avatar romdricks commented on June 12, 2024

[14-May-2024 19:34:12 America/Jamaica] PHP Fatal error: Uncaught TypeError: ChurchCRM\data\Countries::getCountryByName(): Argument #1 ($CountryName) must be of type string, null given, called in /home/.../public_html/churchcrm/Include/StateDropDown.php on line 14 and defined in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php:297
Stack trace:
#0 /home/.../public_html/churchcrm/Include/StateDropDown.php(14): ChurchCRM\data\Countries::getCountryByName()
#1 /home/.../public_html/churchcrm/PersonEditor.php(904): require('/home/...')
#2 {main}
thrown in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php on line 297

from crm.

DAcodedBEAT avatar DAcodedBEAT commented on June 12, 2024

@romdricks

47 of them doesn't show the full content in Person Editor.

What are you expecting to see?

from crm.

romdricks avatar romdricks commented on June 12, 2024

@romdricks

47 of them doesn't show the full content in Person Editor.

What are you expecting to see?

Person-Editor

from crm.

respencer avatar respencer commented on June 12, 2024

Most of those fields should be hidden when the person is part of a family, and are on the current build.

What does the associated family record look like for those empty fields?

Screenshot 2024-05-17 at 20-44-48 ChurchCRM Person Editor

from crm.

romdricks avatar romdricks commented on June 12, 2024

Please compare my screenshots and you will notice that the page doesn't fully load; it's cut off.

from crm.

respencer avatar respencer commented on June 12, 2024

That's expected behavior then. If someone is part of a family the system expects you to use the family address.

from crm.

romdricks avatar romdricks commented on June 12, 2024

That's expected behavior then. If someone is part of a family the system expects you to use the family address.

Ok. But shouldn't the whole page load with the rest of the content (contact info, membership info, custom fields etc..) and save, save-and-add, and cancel buttons? The footer doesn't load either. The page looks exactly as in the screenshot.

from crm.

respencer avatar respencer commented on June 12, 2024

Okay, that would require further investigation.

The thing is I'm currently unable to recreate this issue, so it makes isolating it more difficult. Will make a further attempt to narrow it down.

from crm.

romdricks avatar romdricks commented on June 12, 2024

okay. thank you.

from crm.

respencer avatar respencer commented on June 12, 2024

[14-May-2024 19:34:12 America/Jamaica] PHP Fatal error: Uncaught TypeError: ChurchCRM\data\Countries::getCountryByName(): Argument #1 ($CountryName) must be of type string, null given, called in /home/.../public_html/churchcrm/Include/StateDropDown.php on line 14 and defined in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php:297 Stack trace: #0 /home/.../public_html/churchcrm/Include/StateDropDown.php(14): ChurchCRM\data\Countries::getCountryByName() #1 /home/.../public_html/churchcrm/PersonEditor.php(904): require('/home/...') #2 {main} thrown in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php on line 297

Out of curiosity, why did you add an address with no country?

from crm.

romdricks avatar romdricks commented on June 12, 2024

[14-May-2024 19:34:12 America/Jamaica] PHP Fatal error: Uncaught TypeError: ChurchCRM\data\Countries::getCountryByName(): Argument #1 ($CountryName) must be of type string, null given, called in /home/.../public_html/churchcrm/Include/StateDropDown.php on line 14 and defined in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php:297 Stack trace: #0 /home/.../public_html/churchcrm/Include/StateDropDown.php(14): ChurchCRM\data\Countries::getCountryByName() #1 /home/.../public_html/churchcrm/PersonEditor.php(904): require('/home/...') #2 {main} thrown in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php on line 297

Out of curiosity, why did you add an address with no country?

Country was added along with zip code, state etc...

from crm.

respencer avatar respencer commented on June 12, 2024

[14-May-2024 19:34:12 America/Jamaica] PHP Fatal error: Uncaught TypeError: ChurchCRM\data\Countries::getCountryByName(): Argument #1 ($CountryName) must be of type string, null given, called in /home/.../public_html/churchcrm/Include/StateDropDown.php on line 14 and defined in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php:297 Stack trace: #0 /home/.../public_html/churchcrm/Include/StateDropDown.php(14): ChurchCRM\data\Countries::getCountryByName() #1 /home/.../public_html/churchcrm/PersonEditor.php(904): require('/home/...') #2 {main} thrown in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php on line 297

Out of curiosity, why did you add an address with no country?

Country was added along with zip code, state etc...

Okay, that makes no sense then. Null in this context means empty, so the error is that there is no country specified.

Will continue to investigate when I have time.

from crm.

romdricks avatar romdricks commented on June 12, 2024

[14-May-2024 19:34:12 America/Jamaica] PHP Fatal error: Uncaught TypeError: ChurchCRM\data\Countries::getCountryByName(): Argument #1 ($CountryName) must be of type string, null given, called in /home/.../public_html/churchcrm/Include/StateDropDown.php on line 14 and defined in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php:297 Stack trace: #0 /home/.../public_html/churchcrm/Include/StateDropDown.php(14): ChurchCRM\data\Countries::getCountryByName() #1 /home/.../public_html/churchcrm/PersonEditor.php(904): require('/home/...') #2 {main} thrown in /home/.../public_html/churchcrm/ChurchCRM/data/Countries.php on line 297

Out of curiosity, why did you add an address with no country?

Country was added along with zip code, state etc...

Okay, that makes no sense then. Null in this context means empty, so the error is that there is no country specified.

Will continue to investigate when I have time.

Ok thank you.

from crm.

DAcodedBEAT avatar DAcodedBEAT commented on June 12, 2024

@romdricks is this still an issue on 5.8.0 ?

from crm.

romdricks avatar romdricks commented on June 12, 2024

@romdricks is this still an issue on 5.8.0 ?

Only when setting the bHidePersonAddress to false in PeopleSetup. I will add it to the description. I am using true now.

from crm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.