Closed The-Luz closed 7 years ago
Which version are you using?
The is a getUri() call. But in Line 319 (master/develop)
it seems, there is a problem with rthe fileupload.
We are using v0.29 (master) an i get the error on your demo database too. Also happens without any attached files.
Here is our ApplyController (renamed to .txt to upload it here) ApplyController.txt
Test on yawik.org/demo:
After further investigating and resolving of other problems, we found that it fails in YAWIK/module/Applications/view/applications/apply/index.phtml in Line 29 where he trys to get the organization image. We have temporarily removed that line so that the useres can at least submit the application without an error.
Do you have php-gd installed? Since 0.29 YAWIK uses imagine für resizing organization logos. Imagine requires an image manipulation library like "php-gd" or "php-imagick".
Image manipulation is only done when uploading a new organization image. So it is very unlikely that is the issue here.
It's just that the organizationImageCache is null, when it should be an object.
fix will be included in 0.29.1
When submitting an application i get an error 500.
PHP Fatal error: Call to a member function getUri() on null in .../yawik/htdocs/module/Applications/src/Applications/Controller/ApplyController.php on line 316