Comments (9)
@MrClever I forgot to follow up, did you get to check if this is resolved in the master branch?
I haven't had a chance to check it yet. Will add this to my to-do list.
from crm.
Looks like the fix to this was merged in 5.4.3 (https://github.com/ChurchCRM/CRM/releases/tag/5.4.3) - if this looks good to you, feel free to close out this issue.
from crm.
After being punted back to the login screen a few times, I managed to coax the following error from 5.3.4 which is getting thrown by ChurchCRM/dto/Photo.php:83
Slim Application Error
The application could not run because of the following error:
Details
Type: TypeError
Code: 0
Message: DateTimeImmutable::sub(): Argument #1 ($interval) must be of type DateInterval, bool given
File: /path/to/ChurchCRM/ChurchCRM/dto/Photo.php
Line: 83
Trace
#0 /path/to/ChurchCRM/ChurchCRM/dto/Photo.php(83): DateTimeImmutable->sub(false)
#1 /path/to/ChurchCRM/ChurchCRM/dto/Photo.php(105): ChurchCRM\dto\Photo->shouldRefreshPhotoFile('/home1/grayneta...')
#2 /path/to/ChurchCRM/ChurchCRM/dto/Photo.php(28): ChurchCRM\dto\Photo->photoHunt()
#3 /path/to/ChurchCRM/ChurchCRM/model/ChurchCRM/Person.php(338): ChurchCRM\dto\Photo->__construct('Person', 1)
#4 /path/to/ChurchCRM/v2/templates/people/family-view.php(234): ChurchCRM\model\ChurchCRM\Person->getPhoto()
#5 /path/to/ChurchCRM/vendor/slim/php-view/src/PhpRenderer.php(215): include('/home1/grayneta...')
#6 /path/to/ChurchCRM/vendor/slim/php-view/src/PhpRenderer.php(183): Slim\Views\PhpRenderer->protectedIncludeScope('templates/peopl...', Array)
#7 /path/to/ChurchCRM/vendor/slim/php-view/src/PhpRenderer.php(152): Slim\Views\PhpRenderer->fetchTemplate('family-view.php', Array)
#8 /path/to/ChurchCRM/vendor/slim/php-view/src/PhpRenderer.php(49): Slim\Views\PhpRenderer->fetch('family-view.php', Array, true)
#9 /path/to/ChurchCRM/v2/routes/family.php(113): Slim\Views\PhpRenderer->render(Object(Laminas\Diactoros\Response), 'family-view.php', Array)
#10 /path/to/ChurchCRM/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): viewFamily(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Diactoros\Response), Array)
#11 /path/to/ChurchCRM/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke('viewFamily', Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Diactoros\Response), Array)
#12 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle(Object(Laminas\Diactoros\ServerRequest))
#13 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#14 /path/to/ChurchCRM/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#15 /path/to/ChurchCRM/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run(Object(Laminas\Diactoros\ServerRequest))
#16 /path/to/ChurchCRM/ChurchCRM/Slim/Middleware/VersionMiddleware.php(14): Slim\Routing\RouteRunner->handle(Object(Laminas\Diactoros\ServerRequest))
#17 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): ChurchCRM\Slim\Middleware\VersionMiddleware->__invoke(Object(Laminas\Diactoros\ServerRequest), Object(Slim\Routing\RouteRunner))
#18 /path/to/ChurchCRM/ChurchCRM/Slim/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Laminas\Diactoros\ServerRequest))
#19 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): ChurchCRM\Slim\Middleware\AuthMiddleware->__invoke(Object(Laminas\Diactoros\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#20 /path/to/ChurchCRM/vendor/slim/slim/Slim/Middleware/BodyParsingMiddleware.php(64): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Laminas\Diactoros\ServerRequest))
#21 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\BodyParsingMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#22 /path/to/ChurchCRM/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Laminas\Diactoros\ServerRequest))
#23 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#24 /path/to/ChurchCRM/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Laminas\Diactoros\ServerRequest))
#25 /path/to/ChurchCRM/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#26 /path/to/ChurchCRM/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(Laminas\Diactoros\ServerRequest))
#27 /path/to/ChurchCRM/v2/index.php(42): Slim\App->run()
#28 {main}
from crm.
Ok - looks like the code breaks when external/remote images are used (Google/Gravitar). So with this turned off, I now have rendered initials or a photo if one has been uploaded.
from crm.
Does the system need to be restarted in order for the images to reappear?
from crm.
Does the system need to be restarted in order for the images to reappear?
No - save the setting and then the images/initials will reappear.
from crm.
@MrClever I forgot to follow up, did you get to check if this is resolved in the master branch?
from crm.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from crm.
Fixed in master
from crm.
Related Issues (20)
- Bug: Age is not correct in Birthday Calendar.
- Bug: Birthday Calendar works for only current year.
- Wedding Date in wrong order on Directory Report HOT 5
- Feature request: Customize columns on View Active People/Families
- Bug: Unnecessary Actions column in Data Dump
- Government compliancy HOT 4
- Bug: Save doesn't work in family editor HOT 9
- Bug: Person editor not showing full content. HOT 19
- Stored XSS from external family registration HOT 2
- Feature request: Remove the unused IE code since it's no longer a supported browser
- Required State causes issue on Self Registration page HOT 2
- Bug: Files deleted in new release is still on site after upgrading
- Bug: Database upgrade fails on shared hosting 5.7.0 to 5.8.0 HOT 1
- Bug: sudo -u www-data php setup/index.php => "ChurchCRM\model\ChurchCRM\Base\ListOptionQuery" not found in ... HOT 10
- Feature request: LDAP integration for userdata HOT 4
- Bug: jQuery-Photo-Uploader needs replacing HOT 3
- Bug: Call to undefined method ChurchCRM\...\LocalUsernamePasswordRequest::getQueryParams() HOT 6
- 2 issues on cPanel based hosting HOT 3
- Bug: error after clicking event on calendar HOT 1
- Bug: Attendance Counts not populating on ListEvents.php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crm.