-
Notifications
You must be signed in to change notification settings - Fork 6
PHP Notice when doing multiple file uploads #31
Description
Hi all,
Created a simple module, a few text fields and with multiple images.
When adding a new record, with images, this notice occours:
Notice: Undefined property: stdClass::$9
After this a PDO exception is thrown because of a Integrity constraint violation on the 'sequence' Column...
I'm using forkcms 3.6.0, with mulitple languages.
By the way... Great module! This is going to save me lot of backend coding time, thanks!
Regards,
Bart.
--[long error report]---
Notice: Undefined property: stdClass::$9 in /project/forkcms/htdocs/backend/modules/user_reviews/actions/add.php on line 145 Call Stack: 0.0000 658840 1. {main}() /project/forkcms/htdocs/index.php:0 0.0074 1127432 2. Kernel->handle() /project/forkcms/htdocs/index.php:38 0.0076 1143272 3. ApplicationRouting->handleRequest() /project/forkcms/htdocs/app/Kernel.php:533 0.0660 4197776 4. Backend->display() /project/forkcms/htdocs/app/routing.php:135 0.0660 4197776 5. BackendAction->execute() /project/forkcms/htdocs/backend/core/engine/backend.php:31 0.1172 6090256 6. BackendUserReviewsAdd->execute() /project/forkcms/htdocs/backend/core/engine/action.php:81 0.1443 8460896 7. BackendUserReviewsAdd->validateForm() /project/forkcms/htdocs/backend/modules/user_reviews/actions/add.php:38 Notice: Trying to get property of non-object in /project/forkcms/htdocs/backend/modules/user_reviews/actions/add.php on line 145 Call Stack: 0.0000 658840 1. {main}() /project/forkcms/htdocs/index.php:0 0.0074 1127432 2. Kernel->handle() /project/forkcms/htdocs/index.php:38 0.0076 1143272 3. ApplicationRouting->handleRequest() /project/forkcms/htdocs/app/Kernel.php:533 0.0660 4197776 4. Backend->display() /project/forkcms/htdocs/app/routing.php:135 0.0660 4197776 5. BackendAction->execute() /project/forkcms/htdocs/backend/core/engine/backend.php:31 0.1172 6090256 6. BackendUserReviewsAdd->execute() /project/forkcms/htdocs/backend/core/engine/action.php:81 0.1443 8460896 7. BackendUserReviewsAdd->validateForm() /project/forkcms/htdocs/backend/modules/user_reviews/actions/add.php:38
--[/long error report]---